eDAO.CONN_STRING_NON_DTC;
private string DbPoolConnStr
{
get
{
return DataAccess.BaseDAO.CONN_STRING_NON_DTC;
}
}
private static int _PoolMaxCount = 10;
/// <summary>
/// Gets or sets the pool max count.
/// </summary>
/// <value>The pool max count.</value>
public new int PoolMaxCount
{
get
{
return _PoolMaxCount;
}
set
{
base.PoolMaxCount = _PoolMaxCount;
_PoolMaxCount = value;
}
}
/// <summary>
/// 创建数据库连接对象
/// </summary>
/// <returns>已打开的数据库连接对象</returns>
protected override SqlConnection Create()
{
SqlConnection conn = new SqlConnection(DbPoolConnStr);
conn.Open();
return conn;
}
/// <summary>
/// 验证连接状态
/// </summary>
/// <param name="t">数据库连接对象</param>
/// <returns>连接状态Open : true Close:false</returns>
&n