public void Dispose() { if (statement != null && statement.IsPrepared) { statement.CloseStatement(); } }
protected override void Dispose(bool disposing) { if (statement != null && statement.IsPrepared) { statement.CloseStatement(); } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { if (disposed) { return; } if (!disposing) { return; } if (statement != null && statement.IsPrepared) { statement.CloseStatement(); } ResetReader(); base.Dispose(disposing); disposed = true; }