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-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-03-13 11:16:55 +08:00
|
|
|
|
int eachCount = 10;
|
2017-03-16 10:42:31 +08:00
|
|
|
|
//new Field(eachCount).Init();
|
|
|
|
|
//new Where(eachCount).Init();
|
|
|
|
|
//new Method(eachCount).Init();
|
|
|
|
|
//new JoinQuery(eachCount).Init();
|
|
|
|
|
//new SingleQuery(eachCount).Init();
|
2017-03-05 16:18:49 +08:00
|
|
|
|
new SelectQuery(eachCount).Init();
|
2017-01-07 21:54:51 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|