Is there a way from preventing SchemaExport from generating a foreign key constraint on
mapping type? I saw a similar question about mapping, but unfortunately that wont do for . I couldn’t find answer to this in NHibernate reference, but maybe someone knows a trick? I’d like to avoid removing constraint afterwards.
Is there a way from preventing SchemaExport from generating a foreign key constraint on
Share
Could you post your mappings?
<any>definitely does not create foreign keys.Example:
This will just create two columns (FooBarOrBazId and FooBarOrBazType), with no FKs