SqlSugar/Src/Asp.NetCore2/SqlSeverTest/Program.cs

51 lines
1.3 KiB
C#
Raw Normal View History

2019-06-04 21:03:27 +08:00

2019-05-17 22:26:30 +08:00
using System;
2017-08-24 15:18:53 +08:00
2017-11-28 13:17:18 +08:00
namespace OrmTest
2017-08-24 15:18:53 +08:00
{
class Program
{
2019-06-04 21:03:27 +08:00
/// <summary>
/// Set up config.cs file and start directly F5
/// 设置Config.cs文件直接F5启动例子
/// </summary>
/// <param name="args"></param>
2017-08-24 15:18:53 +08:00
static void Main(string[] args)
{
2019-06-04 21:03:27 +08:00
2019-05-21 13:00:34 +08:00
//Demo
2019-05-21 13:00:22 +08:00
Demo0_SqlSugarClient.Init();
Demo1_Queryable.Init();
2019-06-04 21:03:27 +08:00
Demo2_Updateable.Init();
Demo3_Insertable.Init();
Demo4_Deleteable.Init();
2021-10-31 17:51:47 +08:00
DemoN_SplitTable.Init();
DemoM_UnitOfWork.Init();
DemoL_Snowflake.Init();
2019-06-04 21:03:27 +08:00
Demo5_SqlQueryable.Init();
Demo6_Queue.Init();
Demo7_Ado.Init();
Demo8_Saveable.Init();
Demo9_EntityMain.Init();
DemoA_DbMain.Init();
DemoB_Aop.Init();
DemoC_GobalFilter.Init();
DemoD_DbFirst.Init();;
2019-05-21 13:00:22 +08:00
DemoE_CodeFirst.Init();
2019-06-04 21:03:27 +08:00
DemoF_Utilities.Init();
DemoG_SimpleClient.Init();
2021-07-04 14:25:21 +08:00
DemoJ_Report.Init();
2019-05-17 22:26:30 +08:00
//Unit test
2019-06-04 21:03:27 +08:00
//NewUnitTest.Init();
//Rest Data
NewUnitTest.RestData();
2019-05-17 22:26:30 +08:00
Console.WriteLine("all successfully.");
Console.ReadKey();
2017-08-24 15:18:53 +08:00
}
2019-05-17 22:26:30 +08:00
2017-08-24 15:18:53 +08:00
}
}