I'm trying to customize the name of foreign key, I guess the name is construct in UpdateScript.lpt, line #306
string constraintName = foreignKeyConstraint.ConstraintName;
According to this line, I think this name is generated by designer. If I change the name here, generate ddl script again and update database structure, will it have any issues if I refresh schema from database next time?
I want to change the name to be more meaningful, like sql server default name , "FK[Child Table Name][Parent Table Name] "
I found that after I clicked "Validate and Adjust Relational Model Data", in the "Application Output" windows of designer, it shows it added a foreign key constraint and the name is in this pattern, "FK_[Guid]", and it will save this name in project file. I'm afraid if the constraint name is different on database, it will cause problems when refreshing schema.