SqlSugar/OrmTest/Program.cs
sunkaixuan f7ca4a4b05 -
2017-04-24 01:31:37 +08:00

39 lines
915 B
C#

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;
using System.Data.SqlClient;
using OrmTest.UnitTest;
using OrmTest.PerformanceTesting;
namespace OrmTest
{
class Program
{
static void Main(string[] args)
{
//Unit Test
int eachCount = 10;
//new Field(eachCount).Init();
//new Where(eachCount).Init();
//new Method(eachCount).Init();
//new JoinQuery(eachCount).Init();
//new SingleQuery(eachCount).Init();
//new SelectQuery(eachCount).Init();
//Performance Test
for (int i = 0; i < 100; i++)
{
new ChloeORMPerformance().Select();
}
}
}
}