mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-27 11:19:15 +08:00
-
This commit is contained in:
@@ -31,7 +31,7 @@ namespace OrmTest.Demo
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Console.WriteLine(ex.Message);
|
||||
}
|
||||
|
||||
});
|
||||
@@ -48,6 +48,7 @@ namespace OrmTest.Demo
|
||||
var db2 = GetInstance();
|
||||
db2.CurrentConnectionConfig.Debugger = new SqlSugar.SugarDebugger() { EnableThreadSecurityValidation = true };
|
||||
db2.Queryable<Student>().ToList();
|
||||
db2.Queryable<Student>().ToList();
|
||||
});
|
||||
task2.Start();
|
||||
task2.Wait();
|
||||
|
||||
Reference in New Issue
Block a user