You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.8 KiB
C#
70 lines
1.8 KiB
C#
using System;
|
|
using System.Xml.Serialization;
|
|
using System.Xml;
|
|
|
|
namespace LanJuLib
|
|
{
|
|
/// <summary>
|
|
/// ConnectionConfig 的摘要说明。
|
|
/// </summary>
|
|
public class ConnectionConfig
|
|
{
|
|
private string sqlConnectionString;
|
|
private string oracleConnectionString;
|
|
private string adoConnectionString;
|
|
private string mysqlConnectionString;
|
|
private string mesConnectionString;
|
|
|
|
/// <summary>
|
|
/// sql数据库连接字符串
|
|
/// </summary>
|
|
[XmlElement]
|
|
public string SqlConnectionString
|
|
{
|
|
get { return this.sqlConnectionString; }
|
|
set { this.sqlConnectionString = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// oracle数据库连接字符串
|
|
/// </summary>
|
|
[XmlElement]
|
|
public string OracleConnectionString
|
|
{
|
|
get { return this.oracleConnectionString; }
|
|
set { this.oracleConnectionString = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// ado数据库连接字符串
|
|
/// </summary>
|
|
[XmlElement]
|
|
public string AdoConnectionString
|
|
{
|
|
get { return this.adoConnectionString; }
|
|
set { this.adoConnectionString = value; }
|
|
}
|
|
/// <summary>
|
|
/// sql数据库连接字符串
|
|
/// </summary>
|
|
[XmlElement]
|
|
public string MySqlConnectionString
|
|
{
|
|
get { return this.mysqlConnectionString; }
|
|
set { this.mysqlConnectionString = value; }
|
|
}
|
|
/// <summary>
|
|
/// sql数据库连接字符串
|
|
/// </summary>
|
|
[XmlElement]
|
|
public string MESConnectionString
|
|
{
|
|
get { return this.mesConnectionString; }
|
|
set { this.mesConnectionString = value; }
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
|