2023-11-06 08:07:42 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace OrmTest
|
|
|
|
|
{
|
2024-01-21 17:20:14 +08:00
|
|
|
|
internal class Cases
|
2023-11-06 08:07:42 +08:00
|
|
|
|
{
|
|
|
|
|
public static void Init()
|
|
|
|
|
{
|
|
|
|
|
//Demo
|
|
|
|
|
Demo0_SqlSugarClient.Init();
|
|
|
|
|
Demo1_Queryable.Init();
|
|
|
|
|
Demo2_Updateable.Init();
|
|
|
|
|
Demo3_Insertable.Init();
|
|
|
|
|
Demo4_Deleteable.Init();
|
|
|
|
|
Demo5_SqlQueryable.Init();
|
|
|
|
|
DemoN_SplitTable.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();
|
|
|
|
|
DemoH_Tenant.Init();
|
|
|
|
|
DemoJ_Report.Init();
|
|
|
|
|
DemoL_Snowflake.Init();
|
|
|
|
|
DemoM_UnitOfWork.Init();
|
|
|
|
|
//Unit test
|
|
|
|
|
NewUnitTest.Init();
|
|
|
|
|
|
|
|
|
|
//Rest Data
|
|
|
|
|
NewUnitTest.RestData();
|
|
|
|
|
|
|
|
|
|
Console.WriteLine("all successfully.");
|
|
|
|
|
Console.ReadKey();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|