2020-10-31 20:00:59 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace OrmTest
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2020-11-02 15:27:30 +08:00
|
|
|
|
/// 配置连接字符串后,需要手动建库,表可以自动创建
|
2020-10-31 20:00:59 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
public class Config
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Account have permission to create database
|
|
|
|
|
/// 用有建库权限的数据库账号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static string ConnectionString = "PORT=5236;DATABASE=DAMENG;HOST=localhost;PASSWORD=SYSDBA;USER ID=SYSDBA";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Account have permission to create database
|
|
|
|
|
/// 用有建库权限的数据库账号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static string ConnectionString2 = "PORT=5236;DATABASE=DAMENG;HOST=localhost;PASSWORD=SYSDBA;USER ID=SYSDBA";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Account have permission to create database
|
|
|
|
|
/// 用有建库权限的数据库账号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static string ConnectionString3 = "PORT=5236;DATABASE=DAMENG;HOST=localhost;PASSWORD=SYSDBA;USER ID=SYSDBA";
|
|
|
|
|
}
|
|
|
|
|
}
|