public class Task : IBusinessEntity
{
public Task () {}
[PrimaryKey, AutoIncrement]
public int ID { get; set; }
public string Name { get; set; }
public string Notes { get; set; }
public bool Done { get; set; }
}
Run Code Online (Sandbox Code Playgroud)
是[PrimaryKey, AutoIncrement]C#中的索引器吗?
此代码适用于SQLlite-NET.
索引是定义的IBusinessEntity还是继承的?
c# ×1