我以为我在ServiceStack 4发行说明中看到了它,但是搜索使我失败。对于ServiceStack,Ormlite是否能够首先在代码中创建群集索引?
是。
public class Poco
{
[Index(Clustered=true)]
public string Field1 { get; set; }
public string Field2 { get; set; }
}