Firebird / Entity Framework Foreign Key Names

Using the Firebird.NET Provider and Entity Framework (code first), the names of foreign keys seem to apply to this convention:

FK_MyNetClassName1_MyNetClassName2

This allows you to easily overcome the limit of Firebird 30 characters. Is there a way to control foreign key names? (Can they be based on my shorter table names instead of the class name? Then they would also be uppercase!)

+4
source share
1 answer

You cannot change it directly. Creating a name is hard-coded (currently) in the provider. But you can let the script code be generated and change it wherever you want.

+1
source

All Articles