Primary Key Names in Fluent Nhibernate
Posted
by fregas
on Stack Overflow
See other posts from Stack Overflow
or by fregas
Published on 2010-04-09T17:52:03Z
Indexed on
2010/04/09
17:53 UTC
Read the original article
Hit count: 375
Is there a way in fluent nhibernate (or possibly NHibernate in general) to tell it to generate the primary keys differently? It creates the column name for the key fine, but the index/constraint gets weird generated names like:
PK_Address_3214EC2725332734
PK_CreditCa_3214EC2756CA82C8
etc...
I can use straight sql to rename them but i'd rather not.
thanks, all
© Stack Overflow or respective owner