Hi, I have class:
and some table:
and can't create unique combined index on fields
|
This MSDN article fully describes the concept. Returning back to the original problem: you need the following index declaration:
I.e. first you enumerate the names of fields to include. "Parent" is name of the parent field, so this part will be mapped to appropriate foreign key columns (in your case it is just one: "Parent.Id"). |