mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
-
This commit is contained in:
@@ -26,6 +26,15 @@ namespace OrmTest.Demo
|
||||
StoredProcedure();
|
||||
Enum();
|
||||
Simple();
|
||||
Async();
|
||||
}
|
||||
|
||||
private static void Async()
|
||||
{
|
||||
var db = GetInstance();
|
||||
var list= db.Queryable<Student>().Where(it => it.Id == 1).SingleAsync();
|
||||
list.Start();
|
||||
list.Wait();
|
||||
}
|
||||
|
||||
private static void Simple()
|
||||
|
Reference in New Issue
Block a user