mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update unit test
This commit is contained in:
parent
e08444d161
commit
7d49087644
@ -71,6 +71,9 @@ namespace OrmTest
|
||||
db.Updateable<UpdateTest>()
|
||||
.SetColumns(x => new UpdateTest { T1 = 1 }).Where(x => x.Id == id).ExecuteCommand();
|
||||
|
||||
data.T1 = 1;
|
||||
db.Updateable<UpdateTest>()
|
||||
.SetColumns(x => new UpdateTest { T1 = (int)data.T1 }).Where(x => x.Id == id).ExecuteCommand();
|
||||
|
||||
//Console.ReadKey();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user