Maximium identifier length
Posted: Sat 17 Dec 2016 22:22
Hi, I've found a problem when generating the SQL script for a model (NHibernate model, Mysql database).
I've got two entities mapped to tables with long but valid identifiers in Mysql but, when I create a relation between them, the generated FK name exceeds the maximum identifier length (as it's composed of both table names and a number).
Is there a way to make Entity Developer clip the generated FK names to a maximum size or just a property I haven't found yet to change manually the FK name?
Thanks!
I've got two entities mapped to tables with long but valid identifiers in Mysql but, when I create a relation between them, the generated FK name exceeds the maximum identifier length (as it's composed of both table names and a number).
Is there a way to make Entity Developer clip the generated FK names to a maximum size or just a property I haven't found yet to change manually the FK name?
Thanks!