SqlSugar源码
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.

53 lines
1.5 KiB

7 years ago
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;
using OrmTest.UnitTest;
using OrmTest.PerformanceTesting;
namespace OrmTest
{
class Program
{
static void Main(string[] args)
{
7 years ago
//throw new Exception("Oracle developed 75%,to be continued");
7 years ago
7 years ago
// /***Unit Test***/
7 years ago
new Select(1).Init();
7 years ago
new Field(1).Init();
7 years ago
// new Where(1).Init();
7 years ago
//new Method(1).Init();
7 years ago
//new JoinQuery(1).Init();
//new SingleQuery(1).Init();
//new SelectQuery(1).Init();
//new AutoClose(1).Init();
//new Insert(1).Init();
//new Delete(1).Init();
//new Update(1).Init();
//new Mapping(1).Init();
//new DataTest(1).Init();
//new EnumTest(1).Init();
///***Performance Test***/
//new SqlSugarPerformance(100).Select();
7 years ago
/***Demo***/
7 years ago
OrmTest.Demo.Query.Init();
7 years ago
OrmTest.Demo.Insert.Init();
7 years ago
OrmTest.Demo.Delete.Init();
OrmTest.Demo.Update.Init();
7 years ago
OrmTest.Demo.DbFirst.Init();
7 years ago
OrmTest.Demo.JoinSql.Init();
OrmTest.Demo.Filter.Init();
OrmTest.Demo.ComplexModel.Init();
7 years ago
//OrmTest.Demo.CodeFirst.Init();
7 years ago
}
}
}