mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-01 19:03:58 +08:00
-
This commit is contained in:
@@ -12,10 +12,12 @@ namespace OrmTest.UnitTest
|
||||
{
|
||||
public void Init()
|
||||
{
|
||||
using (var db = GetInstance())
|
||||
var db = GetInstance();
|
||||
for (int i = 0; i < 200; i++)
|
||||
{
|
||||
var x= db.Queryable<Student>().ToList();
|
||||
var x = db.Queryable<Student>().ToList();
|
||||
}
|
||||
|
||||
}
|
||||
public SqlSugarClient GetInstance()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user