Configuring a clustered index in nhibernate

I am trying to define a property that is not an identifier as a clustered index in nhibernate, but I have not found a way to do this.

Can someone give me a pointer to how this is done, or is it something that is currently not available in nhibernate?

Thank you in advance

+2
source share
1 answer

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

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

+3
source

Source: https://habr.com/ru/post/1716480/


All Articles