-
-
Notifications
You must be signed in to change notification settings - Fork 121
Closed
Labels
Description
Hei,
I recently changed from using sqlServer to Sqlite, and just found that composite index generation has stopped working.
Example:
I have a class where I want the combination of name and a foreign object to be unique but the index is not being generated in the DB:
public class foo {
public int? Id { get; set; }
[Index("IX_Name_OtherObject", 1, IsUnique = true)]
public string Name { get; set; }
[Index("IX_Name_OtherObject", 1, IsUnique = true)]
public OtherObject otherObject { get; set; }
}
Thanks for your great work with bringing code first to SQLite 👍