SqlSugar/Src/Asp.Net/SqlServerTest/Program.cs

51 lines
1.4 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-08-13 01:33:05 +08:00
// /***Unit Test***/
new Select(1).Init();
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();
new DataTest(1).Init();
new EnumTest(1).Init();
/***Performance Test***/
new SqlSugarPerformance(100).Select();
2017-06-18 06:49:51 +08:00
/***Demo***/
OrmTest.Demo.Query.Init();
2017-07-14 12:05:38 +08:00
OrmTest.Demo.Insert.Init();
OrmTest.Demo.Delete.Init();
OrmTest.Demo.Update.Init();
OrmTest.Demo.DbFirst.Init();
OrmTest.Demo.JoinSql.Init();
OrmTest.Demo.Filter.Init();
OrmTest.Demo.ComplexModel.Init();
OrmTest.Demo.CodeFirst.Init();
2017-01-07 21:54:51 +08:00
}
}
}