SqlSugar/OrmTest/Program.cs

28 lines
690 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-01-07 21:54:51 +08:00
namespace OrmTest
{
class Program
{
static void Main(string[] args)
{
2017-01-28 21:47:03 +08:00
//Expression To Sql Unit Test
2017-01-28 21:52:05 +08:00
int eachCount = 1000;
2017-01-27 18:35:48 +08:00
new OrmTest.ExpressionTest.Select(eachCount).Init();
2017-01-28 14:32:06 +08:00
new OrmTest.ExpressionTest.Field(eachCount).Init();
new OrmTest.ExpressionTest.Where(eachCount).Init();
2017-01-28 21:56:15 +08:00
new OrmTest.ExpressionTest.Method(eachCount).Init();
2017-01-07 21:54:51 +08:00
}
}
}