mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-24 13:03:43 +08:00
Update demo
This commit is contained in:
@@ -14,6 +14,7 @@ namespace OrmTest
|
||||
db.CodeFirst.InitTables<Unitadfadsfa>();
|
||||
var list=new List<Unitadfadsfa>() { new Unitadfadsfa() { Id=Guid.NewGuid(), Name="a" },
|
||||
new Unitadfadsfa() { Id=Guid.NewGuid(),Name="a" }};
|
||||
var dt = db.Utilities.ListToDataTable(list);
|
||||
db.Storageable(list).WhereColumns(it => it.Id).ExecuteCommand();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user