/// <summary> /// PutPool /// </summary> /// <param name="conn"></param> public void PutPool(ConnBase conn) { conn.IsUsing = false; try { if (conn.Conn.State == ConnectionState.Open) { conn.Close(); } } catch { } this.InnerList[conn.IDX] = conn; }
/// <summary> /// PutPool /// </summary> /// <param name="conn"></param> public void PutPool(ConnBase conn) { conn.IsUsing = false; this.InnerList[conn.IDX] = conn; }
public virtual void PubPool(ConnBase conn) { }