diff --git a/Src/Asp.Net/PerformanceTest/PerformanceTest.csproj b/Src/Asp.Net/PerformanceTest/PerformanceTest.csproj
index e256d5502..2d5ad8deb 100644
--- a/Src/Asp.Net/PerformanceTest/PerformanceTest.csproj
+++ b/Src/Asp.Net/PerformanceTest/PerformanceTest.csproj
@@ -72,7 +72,7 @@
-
+
diff --git a/Src/Asp.Net/PerformanceTest/Program.cs b/Src/Asp.Net/PerformanceTest/Program.cs
index 6106137e0..61c0373fd 100644
--- a/Src/Asp.Net/PerformanceTest/Program.cs
+++ b/Src/Asp.Net/PerformanceTest/Program.cs
@@ -15,18 +15,18 @@ namespace PerformanceTest
///
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
}
}
}
diff --git a/Src/Asp.Net/PerformanceTest/TestItems/TestSql.cs b/Src/Asp.Net/PerformanceTest/TestItems/TestGetSql.cs
similarity index 98%
rename from Src/Asp.Net/PerformanceTest/TestItems/TestSql.cs
rename to Src/Asp.Net/PerformanceTest/TestItems/TestGetSql.cs
index 0d7dcb9c0..cc643766f 100644
--- a/Src/Asp.Net/PerformanceTest/TestItems/TestSql.cs
+++ b/Src/Asp.Net/PerformanceTest/TestItems/TestGetSql.cs
@@ -10,7 +10,7 @@ using System.Threading.Tasks;
namespace PerformanceTest.TestItems
{
- public class TestSql
+ public class TestGetSql
{
public void Init(OrmType type)
{