mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Add demo
This commit is contained in:
parent
8d89a00762
commit
d1c0699187
@ -32,6 +32,7 @@ namespace OrmTest
|
||||
db.CodeFirst.InitTables<UnituLong>();
|
||||
db.Insertable(new UnituLong() { longx = 1 }).ExecuteCommand();
|
||||
var ulList=db.Queryable<UnituLong>().Where(x => x.longx > 0).ToList();
|
||||
db.CodeFirst.As<UnituLong>("UnituLong0011").InitTables<UnituLong>();
|
||||
Console.WriteLine("#### CodeFirst end ####");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user