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-05-18 10:17:43 +08:00
|
|
|
|
/***Unit Test***/
|
2017-05-21 01:14:55 +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-05-21 13:58:35 +08:00
|
|
|
|
new Insert(1).Init();
|
|
|
|
|
//new Delete(1).Init();
|
2017-05-21 13:47:19 +08:00
|
|
|
|
//new Update(1).Init();
|
2017-05-21 01:14:55 +08:00
|
|
|
|
//new Mapping(1).Init();
|
2017-05-17 01:36:06 +08:00
|
|
|
|
|
2017-05-18 10:17:43 +08:00
|
|
|
|
/***Performance Test***/
|
2017-04-30 19:45:14 +08:00
|
|
|
|
//new SqlSugarPerformance(100).Select();
|
2017-05-17 01:36:06 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//Demo
|
2017-01-07 21:54:51 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|