void Dispose (bool disposing) { if (disposed) return; if (disposing) { // dispose managed resources Close (); } command = null; cols = null; _dataTableSchema = null; disposed = true; }