SqlSugar/Src/Asp.Net/SqlServerTest/Program.cs

50 lines
1.3 KiB
C#
Raw Normal View History

2021-01-16 23:34:57 +08:00
using System;
2017-04-24 01:31:37 +08:00
2017-01-07 21:54:51 +08:00
namespace OrmTest
{
class Program
{
2019-06-02 10:24:00 +08:00
/// <summary>
/// Set up config.cs file and start directly F5
/// 设置Config.cs文件直接F5启动例子
/// </summary>
/// <param name="args"></param>
2017-01-07 21:54:51 +08:00
static void Main(string[] args)
{
2019-06-02 10:24:00 +08:00
2019-05-07 09:12:38 +08:00
//Demo
2019-06-01 12:26:09 +08:00
Demo0_SqlSugarClient.Init();
Demo1_Queryable.Init();
Demo2_Updateable.Init();
2019-06-02 15:31:27 +08:00
Demo3_Insertable.Init();
Demo4_Deleteable.Init();
2019-06-01 12:26:09 +08:00
Demo5_SqlQueryable.Init();
Demo6_Queue.Init();
2019-06-02 15:31:27 +08:00
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-04-24 17:20:15 +08:00
DemoH_Tenant.Init();
2021-07-03 22:56:22 +08:00
DemoJ_Report.Init();
2021-07-31 21:14:48 +08:00
DemoL_Snowflake.Init();
2021-08-28 22:30:33 +08:00
DemoM_UnitOfWork.Init();
2019-05-07 09:12:38 +08:00
//Unit test
2021-04-24 17:20:15 +08:00
//NewUnitTest.Init();
2019-06-02 11:09:03 +08:00
//Rest Data
NewUnitTest.RestData();
2019-05-07 09:12:38 +08:00
2019-01-25 22:40:19 +08:00
Console.WriteLine("all successfully.");
Console.ReadKey();
2017-01-07 21:54:51 +08:00
}
2019-05-05 14:28:54 +08:00
2017-01-07 21:54:51 +08:00
}
}