Browse Source

-

pull/12/MERGE
sunkaixuan 6 years ago
parent
commit
a6db4e673d
  1. 3
      Src/Asp.Net/SqlServerTest/Demos/J_Debugger.cs

3
Src/Asp.Net/SqlServerTest/Demos/J_Debugger.cs

@ -31,7 +31,7 @@ namespace OrmTest.Demo
} }
catch (Exception ex) catch (Exception ex)
{ {
Console.WriteLine(ex.Message);
} }
}); });
@ -48,6 +48,7 @@ namespace OrmTest.Demo
var db2 = GetInstance(); var db2 = GetInstance();
db2.CurrentConnectionConfig.Debugger = new SqlSugar.SugarDebugger() { EnableThreadSecurityValidation = true }; db2.CurrentConnectionConfig.Debugger = new SqlSugar.SugarDebugger() { EnableThreadSecurityValidation = true };
db2.Queryable<Student>().ToList(); db2.Queryable<Student>().ToList();
db2.Queryable<Student>().ToList();
}); });
task2.Start(); task2.Start();
task2.Wait(); task2.Wait();

Loading…
Cancel
Save