标签: nhibernate indexing fluent-nhibernate non-clustered-index
我们如何在nHibernate映射中表达以下T-SQL?
CREATE NONCLUSTERED INDEX idxFoo ON [dbo].[MyTable] (Column1) INCLUDE (Column2)
它应该有一个INCLUDE子句,但我不知道如何在nHibernate中指定INCLUDE'd列。