SqlSugar/Src/Asp.NetCore2/KdbndpTest/Program.cs
2024-07-11 12:00:37 +08:00

39 lines
778 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using KdbndpTest.OracleDemo;
using KdbndpTest.SqlServerDemo;
using System;
namespace OrmTest
{
class Program
{
static void Main(string[] args)
{
//可以查看安装的模式
//show database_mode;
//Oracle模式DEMO 【默认模式语法同时支持PGSQL】
OracleDemo.Init();
//SqlServer模式DEMO
SqlServerDemo.Init();
//MySql模式DEMO
MySqlDemo.Init();
//PostgreSQL模式DEMO
PgSqlDemo.Init();
//Unit test
//NewUnitTest.Init();
//Rest Data
NewUnitTest.RestData();
Console.WriteLine("all successfully.");
Console.ReadKey();
}
}
}