mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-30 12:47:57 +08:00
31 lines
683 B
C#
31 lines
683 B
C#
![]() |
using OrmTest.UnitTest;
|
|||
|
using SqlSugar;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace OrmTest
|
|||
|
{
|
|||
|
public class Delete : ExpTestBase
|
|||
|
{
|
|||
|
private Delete() { }
|
|||
|
public Delete(int eachCount)
|
|||
|
{
|
|||
|
this.Count = eachCount;
|
|||
|
}
|
|||
|
|
|||
|
public void Init()
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
public SqlSugarClient GetInstance()
|
|||
|
{
|
|||
|
SqlSugarClient db = new SqlSugarClient(new SystemTablesConfig() { ConnectionString = Config.ConnectionString, DbType = DbType.SqlServer, IsAutoCloseConnection = true });
|
|||
|
return db;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|