protected override void Dispose(bool disposing) { if (disposing) { if (InnerResultSet != null) { InnerResultSet.Dispose(); connection.Dispose(); InnerResultSet = null; } } }