mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 14:04:44 +08:00
-
This commit is contained in:
parent
a6db4e673d
commit
5851135b29
@ -17,9 +17,9 @@ namespace OrmTest.Demo
|
||||
|
||||
db.Queryable<Student>().ToList();
|
||||
db.Queryable<Student>().ToListAsync().Wait();
|
||||
db.Insertable<Student>(new Student() { Name = "a" }).ExecuteCommandAsync();
|
||||
db.Updateable<Student>(new Student() { Name = "a" }).ExecuteCommandAsync();
|
||||
db.Deleteable<Student>(1111).ExecuteCommandAsync();
|
||||
db.Insertable<Student>(new Student() { Name = "a" }).ExecuteCommandAsync().Wait();
|
||||
db.Updateable<Student>(new Student() { Name = "a" }).ExecuteCommandAsync().Wait();
|
||||
db.Deleteable<Student>(1111).ExecuteCommandAsync().Wait();
|
||||
|
||||
var task = new Task(() =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user