/// <summary> /// Register table in list /// </summary> /// <param name="table">Table object</param> internal void RegisterTable(VistaDBTable table) { if (tableList.IndexOf(table) >= 0) { return; } tableList.Add(table); }
/// <summary> /// Unregister table in list /// </summary> /// <param name="table"></param> internal void UnregisterTable(VistaDBTable table) { if (this.tableList != null) { int index = tableList.IndexOf(table); if (index < 0) { return; } tableList.RemoveAt(index); } }