SqlSugar/OrmTest/Program.cs
sunkaixuan 6a6c0c2aec -
2017-03-04 01:22:06 +08:00

30 lines
815 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;
namespace OrmTest
{
class Program
{
static void Main(string[] args)
{
//Expression To Sql Unit Test
int eachCount = 1;
new OrmTest.ExpressionTest.Select(eachCount).Init();
new OrmTest.ExpressionTest.Field(eachCount).Init();
new OrmTest.ExpressionTest.Where(eachCount).Init();
new OrmTest.ExpressionTest.Method(eachCount).Init();
new OrmTest.ExpressionTest.Join(eachCount).Init();
new OrmTest.ExpressionTest.Single(eachCount).Init();
}
}
}