Как изменить порядок столбцов в многостолбцовом индексе?
Т.е.:
mapping.References(x => x.SomeReference).SetAttribute("index", "IX_index");
mapping.Map(x => x.SomeField).SetAttribute("index", "IX_index");
Производит следующую Схему:
create index IX_index on ApplicantProgramDatas (SomeField, SomeReferenceId)
Но я хочу добраться:
create index IX_index on ApplicantProgramDatas (SomeReferenceId, SomeField)