mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
-
This commit is contained in:
@@ -15,18 +15,18 @@ namespace PerformanceTest
|
||||
/// <param name="args"></param>
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var type = DemoType.GetAll;
|
||||
var ormType = OrmType.Dapper;
|
||||
var type = DemoType.GetSql;
|
||||
var ormType = OrmType.SqlSugar;
|
||||
switch (type)
|
||||
{
|
||||
case DemoType.GetAll:
|
||||
new TestGetAll().Init(ormType);
|
||||
break;
|
||||
case DemoType.GetById:
|
||||
new TestGetAll().Init(ormType);
|
||||
new TestGetById().Init(ormType);
|
||||
break;
|
||||
case DemoType.TestSql:
|
||||
new TestGetAll().Init(ormType);
|
||||
case DemoType.GetSql:
|
||||
new TestGetSql().Init(ormType);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -37,7 +37,7 @@ namespace PerformanceTest
|
||||
{
|
||||
GetAll,
|
||||
GetById,
|
||||
TestSql
|
||||
GetSql
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user