This question is locked. New answers and comments are not allowed.
Hello
I'm trying to start a new Fluent Model project from an existing sql server 2008 database with a Fluent Model Library.
However it seems that all information about unique indexes are missing in FluentModelMetadataSource class/file.
Is this an as design known behavioral not to import it or i'm i missing something?
In the documentation you can use the Telerik.OpenAccess.Metadata.Fluent.Advanced namespace for creating index
e.g
productConfiguration.
HasIndex().
IsUnique().
IsClustered().
WithName("IX_Products_Price_ProductName").
WithColumn("Price").
Ascending().
WithColumn("Name").
Descending();
//best regards
Greg
I'm trying to start a new Fluent Model project from an existing sql server 2008 database with a Fluent Model Library.
However it seems that all information about unique indexes are missing in FluentModelMetadataSource class/file.
Is this an as design known behavioral not to import it or i'm i missing something?
In the documentation you can use the Telerik.OpenAccess.Metadata.Fluent.Advanced namespace for creating index
e.g
productConfiguration.
HasIndex().
IsUnique().
IsClustered().
WithName("IX_Products_Price_ProductName").
WithColumn("Price").
Ascending().
WithColumn("Name").
Descending();
//best regards
Greg