mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 18:34:55 +08:00
update sqlite
This commit is contained in:
@@ -17,8 +17,15 @@ namespace OrmTest
|
||||
Db.DbMaintenance.TruncateTable<Test00111>();
|
||||
Db.Insertable(new Test00111()).ExecuteCommand();
|
||||
var list = Db.Queryable<Test00111>().ToList();
|
||||
Db.CodeFirst.InitTables<Test00111121>();
|
||||
}
|
||||
public class Test00111121
|
||||
{
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
public string id { get; set; }
|
||||
[SugarColumn(IsPrimaryKey =true)]
|
||||
public string creater { get; set; }
|
||||
}
|
||||
|
||||
public class Test00111
|
||||
{
|
||||
public int id { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user