SqlSugar源码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
494 B

8 years ago
using OrmTest.Models;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest.UnitTest
{
8 years ago
public class MapTable : UnitTestBase
8 years ago
{
public void Init()
{
8 years ago
//IsAutoCloseConnection
8 years ago
for (int i = 0; i < 200; i++)
8 years ago
{
8 years ago
var db = GetInstance();
8 years ago
var x = db.Queryable<Student>().ToList();
8 years ago
}
}
}
}