mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Add access demo
This commit is contained in:
parent
0a902c57b1
commit
c8e4871280
@ -40,8 +40,14 @@ namespace OrmTest
|
||||
var updateRow2 = x2.AsUpdateable.ExecuteCommand();
|
||||
x2.AsInsertable.ExecuteCommand();
|
||||
|
||||
var orders = new List<Order>()
|
||||
{
|
||||
new Order() { Id = 0, Name = "jack" },
|
||||
new Order() { Id = 0, Name = "jack" }
|
||||
};
|
||||
var x3 = db.Storageable(orders).ExecuteCommand();
|
||||
|
||||
// db.Saveable(new Order() { Id = 159, Name = "jack" }).ExecuteCommand();
|
||||
// db.Saveable(new Order() { Id = 159, Name = "jack" }).ExecuteCommand();
|
||||
Console.WriteLine("");
|
||||
Console.WriteLine("#### Saveable End ####");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user