This commit is contained in:
sunkaixuan
2017-04-30 19:45:14 +08:00
parent ec65a93511
commit 4d53cd7622
7 changed files with 61 additions and 16 deletions

View File

@@ -11,6 +11,10 @@ namespace OrmTest.PerformanceTesting
{
public class ChloeORMPerformance: PerformanceBase
{
public ChloeORMPerformance(int eachCount)
{
this.count = eachCount;
}
public void Select()
{
MsSqlContext db = new MsSqlContext(Config.ConnectionString);

View File

@@ -10,7 +10,11 @@ namespace OrmTest.PerformanceTesting
{
public class SqlSugarPerformance : PerformanceBase
{
public void Select()
public SqlSugarPerformance(int eachCount)
{
this.count = eachCount;
}
public void Select()
{
SqlSugarClient db = new SqlSugarClient(new SystemTablesConfig()
{