✅ EF multicolumn index by only having navigational property in the model
Hi,
I am trying to create a multicolumn index and a foreign key would be part of it.
With the help of the navigation property I am able to specify the foreign key, but I am unable to create the index.
The syntax of the
HasIndex
is wrong, explicit string
value cannot be used.
2 Replies