mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
53 lines
1.3 KiB
C#
53 lines
1.3 KiB
C#
|
|
using System;
|
|
using OrmTest;
|
|
using SqlSeverTest.UserTestCases.UnitTest;
|
|
|
|
namespace OrmTest
|
|
{
|
|
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()
|
|
{
|
|
|
|
//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();
|
|
//DemoD_DbFirst.Init(); ;
|
|
DemoE_CodeFirst.Init();
|
|
DemoF_Utilities.Init();
|
|
DemoG_SimpleClient.Init();
|
|
DemoJ_Report.Init();
|
|
//Unit test
|
|
NewUnitTest.Init();
|
|
|
|
//Rest Data
|
|
NewUnitTest.RestData();
|
|
|
|
Console.WriteLine("all successfully.");
|
|
Console.ReadKey();
|
|
}
|
|
|
|
|
|
}
|
|
}
|