You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
815 B
29 lines
815 B
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();
|
|
}
|
|
}
|
|
}
|
|
|