Add access demo

This commit is contained in:
sunkaixuan 2023-11-10 21:31:03 +08:00
parent 0a902c57b1
commit c8e4871280

View File

@ -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 ####");
}