public void Dispose() { if (W.Common.Utils.Once(ref disposed)) { W.Common.Utils.InterlockedReleaseIndex(ref conn.poolUsageBits, i); conn.gate.Release(); i = -1; conn = null; } }
internal GrabbedConn(DbConnPool conn, int i) { this.conn = conn; this.i = i; }