SqlSugar/Src/Asp.Net/PerformanceTest/Program.cs

25 lines
661 B
C#
Raw Normal View History

2017-09-21 13:52:52 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
2017-09-21 14:22:23 +08:00
using PerformanceTest.TestItems;
2017-09-21 13:52:52 +08:00
namespace PerformanceTest
{
class Program
{
2017-09-22 17:49:15 +08:00
2017-09-21 13:52:52 +08:00
/// <summary>
2017-09-22 17:49:15 +08:00
/// 注意注意注意注意注意:分开测试比较公平,并且请在Realse模式下启动程序SqlSugar直接引用的是项目
2017-09-21 13:52:52 +08:00
/// </summary>
/// <param name="args"></param>
static void Main(string[] args)
{
2017-09-22 14:12:58 +08:00
//new TestGetAll().Init(OrmType.Dapper);
//new TestGetById().Init(OrmType.EF);
2017-09-22 13:38:41 +08:00
new TestSql().Init(OrmType.SqlSugar);
2017-09-21 13:52:52 +08:00
Console.ReadKey();
}
}
}