SqlSugar/OrmTest/Program.cs

38 lines
935 B
C#
Raw Normal View History

2017-01-07 21:54:51 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Linq.Expressions;
using SqlSugar;
using OrmTest.Models;
2017-01-08 00:30:49 +08:00
using System.Data.SqlClient;
2017-03-04 15:07:58 +08:00
using OrmTest.UnitTest;
2017-04-24 01:31:37 +08:00
using OrmTest.PerformanceTesting;
2017-01-07 21:54:51 +08:00
namespace OrmTest
{
class Program
{
static void Main(string[] args)
{
2017-03-05 00:29:53 +08:00
//Unit Test
2017-04-26 01:52:29 +08:00
int eachCount = 1;
2017-04-30 17:26:45 +08:00
//new Field(eachCount).Init();
//new Where(eachCount).Init();
//new Method(eachCount).Init();
//new JoinQuery(eachCount).Init();
//new SingleQuery(eachCount).Init();
//new SelectQuery(eachCount).Init();
new MapTable().Init();
2017-04-24 01:31:37 +08:00
//Performance Test
for (int i = 0; i < 100; i++)
{
2017-04-26 01:52:29 +08:00
// new SqlSugarPerformance().Select();
2017-04-24 01:31:37 +08:00
}
2017-01-07 21:54:51 +08:00
}
}
}