This commit is contained in:
sunkaixuan
2017-09-05 13:01:10 +08:00
parent 5cd83c7f8b
commit fdea70d3d9
4 changed files with 49 additions and 14 deletions

View File

@@ -28,6 +28,10 @@ namespace OrmTest.Demo
//by expression id>1 and id==1
var t5 = db.Deleteable<Student>().Where(it => it.Id > 1).Where(it => it.Id == 1).ExecuteCommand();
var t6 = db.Deleteable<Student>().AS("student").Where(it => it.Id > 1).Where(it => it.Id == 1).ExecuteCommandAsync();
t6.Start();
t6.Wait();
}
}
}