SqlSugar/Src/Asp.NetCore2/KdbndpTest/Program.cs

39 lines
778 B
C#
Raw Normal View History

2024-07-10 21:15:51 +08:00
using KdbndpTest.OracleDemo;
using KdbndpTest.SqlServerDemo;
using System;
2020-11-01 12:37:20 +08:00
namespace OrmTest
{
class Program
{
static void Main(string[] args)
{
2024-07-11 12:00:37 +08:00
//可以查看安装的模式
//show database_mode;
2024-07-10 21:15:51 +08:00
2024-07-11 12:00:37 +08:00
//Oracle模式DEMO 【默认模式语法同时支持PGSQL】
2024-07-10 21:15:51 +08:00
OracleDemo.Init();
//SqlServer模式DEMO
2024-07-11 12:00:37 +08:00
SqlServerDemo.Init();
//MySql模式DEMO
MySqlDemo.Init();
//PostgreSQL模式DEMO
PgSqlDemo.Init();
2020-11-01 12:37:20 +08:00
//Unit test
//NewUnitTest.Init();
//Rest Data
NewUnitTest.RestData();
Console.WriteLine("all successfully.");
Console.ReadKey();
}
}
}