DbEntry.net复合索引设置
The following code shows a composed index Name_Age with DESC, UNIQUE mode:
class MyTest { [DbKey] public long Id = 0; [Index("Name_Age", ASC = false, UNIQUE = true)] public string Name = null; [Index("Name_Age", ASC = false, UNIQUE = true)] public int Age = 0; }