You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Text;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
namespace OrmTest
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 配置好连接字符串,不需要建表
|
|
|
|
/// </summary>
|
|
|
|
public class Config
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Account have permission to create database
|
|
|
|
/// 用有建库权限的数据库账号
|
|
|
|
/// </summary>
|
|
|
|
public static string ConnectionString = "PORT=2003;DATABASE=osrdb;HOST=101.34.16.141;PASSWORD=szoscar555;USER ID=SYSDBA;";
|
|
|
|
/// <summary>
|
|
|
|
/// Account have permission to create database
|
|
|
|
/// 用有建库权限的数据库账号
|
|
|
|
/// </summary>
|
|
|
|
public static string ConnectionString2 = "PORT=2003;DATABASE=osrdb;HOST=101.34.16.141;PASSWORD=szoscar555;USER ID=SYSDBA;";
|
|
|
|
/// <summary>
|
|
|
|
/// Account have permission to create database
|
|
|
|
/// 用有建库权限的数据库账号
|
|
|
|
/// </summary>
|
|
|
|
public static string ConnectionString3 = "PORT=2003;DATABASE=osrdb;HOST=101.34.16.141;PASSWORD=szoscar555;USER ID=SYSDBA;";
|
|
|
|
}
|
|
|
|
}
|