0

Can you help me write this SQL code to fluent nhibernate

CREATE NONCLUSTERED INDEX [_dta_index_OKS_Plan_7_1205579333__K6_1_2_3] ON [dbo].[OKS_Plan] 
(
   [Position_id] ASC
)
INCLUDE ( [UID],
[Description],
[FileName]) WITH (SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF) ON [PRIMARY]

1 Answers1

1

It's for auto mapping:

.Override<Entity>(mapping => mapping.Map(entity => entity.Property).Index("IDX_Property"))
Anton
  • 1,583
  • 12
  • 17