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-30 22:49:41 +08:00
|
|
|
|
new Field(1).Init();
|
|
|
|
|
new Where(1).Init();
|
|
|
|
|
new Method(1).Init();
|
|
|
|
|
new JoinQuery(1).Init();
|
|
|
|
|
new SingleQuery(1).Init();
|
|
|
|
|
new SelectQuery(1).Init();
|
|
|
|
|
new AutoClose(1).Init();
|
2017-04-24 01:31:37 +08:00
|
|
|
|
|
|
|
|
|
//Performance Test
|
2017-04-30 19:45:14 +08:00
|
|
|
|
//new SqlSugarPerformance(100).Select();
|
2017-01-07 21:54:51 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|