Setting clustered index in nhibernate

蹲街弑〆低调 提交于 2019-12-24 03:56:10

问题


I'm trying to define a property that is not the id as a clustered index in nhibernate, yet I've found no way of doing this.

Could anyone give me a pointer of how this is done, or it is something not currently available in nhibernate?

Thanks in advance


回答1:


You can use <database-object> to create indexes and other artifacts.

http://nhibernate.info/doc/nhibernate-reference/mapping.html#mapping-database-object



来源:https://stackoverflow.com/questions/3070355/setting-clustered-index-in-nhibernate

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