mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Add unit test
This commit is contained in:
parent
b2e1fe9ada
commit
469a356ba4
@ -13,6 +13,16 @@ namespace OrmTest
|
||||
{
|
||||
Test01();
|
||||
Test02();
|
||||
Test03();
|
||||
}
|
||||
|
||||
private static void Test03()
|
||||
{
|
||||
var db = NewUnitTest.Db;
|
||||
db.StorageableByObject(new Order() { Id = 1, Name = "jack" }).ExecuteCommand();
|
||||
var xx = db.StorageableByObject(new Order() { Id = 1, Name = "jack" }).ToStorage();
|
||||
xx.AsInsertable.ExecuteCommand();
|
||||
xx.AsUpdateable.ExecuteCommand();
|
||||
}
|
||||
|
||||
private static void Test01()
|
||||
|
Loading…
Reference in New Issue
Block a user