2023-11-06 22:02:09 +08:00
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace OrmTest
|
|
|
|
|
{
|
|
|
|
|
public class Cases
|
|
|
|
|
{
|
2023-11-12 07:27:21 +08:00
|
|
|
|
public static void Init()
|
2023-11-06 22:02:09 +08:00
|
|
|
|
{
|
|
|
|
|
//Demo
|
|
|
|
|
Demo0_SqlSugarClient.Init();
|
|
|
|
|
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();
|
|
|
|
|
|
|
|
|
|
//Unit test
|
2024-01-21 17:16:35 +08:00
|
|
|
|
NewUnitTest.Init();
|
2023-11-06 22:02:09 +08:00
|
|
|
|
|
|
|
|
|
//Rest Data
|
|
|
|
|
NewUnitTest.RestData();
|
|
|
|
|
|
|
|
|
|
Console.WriteLine("all successfully.");
|
|
|
|
|
Console.ReadKey();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|