This commit is contained in:
sunkaixuan
2019-01-25 22:55:08 +08:00
parent 7451d37c80
commit a6db4e673d

View File

@@ -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();