SqlSugar/Src/Asp.NetCore2/SqlSeverTest/UserTestCases/Cases.cs

53 lines
1.3 KiB
C#
Raw Normal View History

2023-11-06 21:44:56 +08:00

using System;
using OrmTest;
2023-12-20 21:24:26 +08:00
using SqlSeverTest.UserTestCases.UnitTest;
2023-11-06 21:44:56 +08:00
2024-01-12 02:37:50 +08:00
namespace OrmTest
2023-11-06 21:44:56 +08:00
{
public class Cases
{
/// <summary>
/// Set up config.cs file and start directly F5
/// 设置Config.cs文件直接F5启动例子
/// </summary>
/// <param name="args"></param>
public static void Init()
2024-01-19 14:00:23 +08:00
{
2024-02-06 16:27:21 +08:00
2023-11-06 21:44:56 +08:00
//Demo
Demo0_SqlSugarClient.Init();
Demo1_Queryable.Init();
Demo2_Updateable.Init();
Demo3_Insertable.Init();
Demo4_Deleteable.Init();
DemoN_SplitTable.Init();
DemoM_UnitOfWork.Init();
DemoL_Snowflake.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();
2023-12-03 16:52:01 +08:00
//DemoD_DbFirst.Init(); ;
2023-11-06 21:44:56 +08:00
DemoE_CodeFirst.Init();
DemoF_Utilities.Init();
DemoG_SimpleClient.Init();
DemoJ_Report.Init();
//Unit test
2023-12-03 16:52:01 +08:00
NewUnitTest.Init();
2023-11-06 21:44:56 +08:00
//Rest Data
NewUnitTest.RestData();
Console.WriteLine("all successfully.");
Console.ReadKey();
}
}
}