/// <summary> /// Constructor /// </summary> public VistaDBDataSet() { this.table = null; this.sortProperty = null; this.sortDirection = ListSortDirection.Ascending; this.cacheMinRowIndex = -1; this.cacheMaxRowIndex = -1; this.rowIndex = -1; this.dataRowCache = new VistaDBDataRow[CacheSize]; this.cacheIndex = -1; this.firstRun = true; this.secondRun = false; this.count = 0; this.table = new VistaDBDataSetTable(this); this.dataRow = null; this.inserting = false; }