Fluent NHibernate primary key constraint naming conventions

こ雲淡風輕ζ 提交于 2019-12-06 18:29:47

问题


Is there any way to create a naming convention for my primary key constraints in Fluent NHibernate?

I know you can name foreign key constraints, but it does not appear possible to name the primary key constraint.


回答1:


James Gregory from FNH says...

No, that's not supported through NHibernate, so we can't support it either.

http://groups.google.com/group/fluent-nhibernate/browse_thread/thread/9ea7155407d33772



来源:https://stackoverflow.com/questions/1358043/fluent-nhibernate-primary-key-constraint-naming-conventions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!