2021-01-16 23:34:57 +08:00
|
|
|
|
using System;
|
2017-08-03 23:12:44 +08:00
|
|
|
|
|
|
|
|
|
namespace OrmTest
|
|
|
|
|
{
|
|
|
|
|
class Program
|
|
|
|
|
{
|
2019-06-04 17:48:25 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Set up config.cs file and start directly F5
|
|
|
|
|
/// 设置Config.cs文件直接F5启动例子
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="args"></param>
|
2017-08-03 23:12:44 +08:00
|
|
|
|
static void Main(string[] args)
|
|
|
|
|
{
|
2019-06-04 17:48:25 +08:00
|
|
|
|
|
|
|
|
|
//Demo
|
2019-05-27 20:32:40 +08:00
|
|
|
|
Demo0_SqlSugarClient.Init();
|
2019-06-04 17:48:25 +08:00
|
|
|
|
Demo1_Queryable.Init();
|
|
|
|
|
Demo2_Updateable.Init();
|
|
|
|
|
Demo3_Insertable.Init();
|
|
|
|
|
Demo4_Deleteable.Init();
|
|
|
|
|
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();;
|
|
|
|
|
DemoE_CodeFirst.Init();
|
|
|
|
|
DemoF_Utilities.Init();
|
|
|
|
|
DemoG_SimpleClient.Init();
|
2021-07-04 13:34:19 +08:00
|
|
|
|
DemoJ_Report.Init();
|
2019-05-27 17:07:16 +08:00
|
|
|
|
//Unit test
|
2019-06-04 17:48:25 +08:00
|
|
|
|
//NewUnitTest.Init();
|
|
|
|
|
|
|
|
|
|
//Rest Data
|
|
|
|
|
NewUnitTest.RestData();
|
2017-08-04 00:59:43 +08:00
|
|
|
|
|
2019-05-27 17:07:16 +08:00
|
|
|
|
Console.WriteLine("all successfully.");
|
|
|
|
|
Console.ReadKey();
|
2017-08-03 23:12:44 +08:00
|
|
|
|
}
|
2019-05-27 17:07:16 +08:00
|
|
|
|
|
|
|
|
|
|
2017-08-03 23:12:44 +08:00
|
|
|
|
}
|
|
|
|
|
}
|