SqlSugar/SqlServerTest/Program.cs

45 lines
1.2 KiB
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-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-29 01:33:30 +08:00
///***Unit Test***/
//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();
//new Insert(1).Init();
//new Delete(1).Init();
//new Update(1).Init();
//new Mapping(1).Init();
2017-05-17 01:36:06 +08:00
2017-05-29 01:33:30 +08:00
///***Performance Test***/
//new SqlSugarPerformance(100).Select();
2017-05-17 01:36:06 +08:00
2017-05-29 01:33:30 +08:00
///***Demo***/
//OrmTest.Demo.Query.Init();
//OrmTest.Demo.Insert.Init();
//OrmTest.Demo.Delete.Init();
//OrmTest.Demo.Update.Init();
OrmTest.Demo.DbFirst.Init();
2017-01-07 21:54:51 +08:00
}
}
}