Commit 3961213e authored by 潘栩锋's avatar 潘栩锋 🚴

1.添加 规范 数据库每个表必须有ID

parent 4115e212
......@@ -39,7 +39,7 @@ namespace SQLite
}
}
SQLiteHelper sqliteHelper;
public SQLiteHelper sqliteHelper;
public DBTable()
{
......
......@@ -31,4 +31,6 @@ namespace SQLite
void Init(SQLiteHelper sQLiteHelper);
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SQLite
{
public interface IDbBase
{
Int64 ID { get; set; }
}
}
......@@ -45,6 +45,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="DBTable.cs" />
<Compile Include="IDbBase.cs" />
<Compile Include="IDBTable.cs" />
<Compile Include="IgnoreAttribute.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment