protected override IList <ColumnBinding> BuildColumns() { // This method is called to build a list of all columns. NQuery will // this method only once so there is no need to cache the result. List <ColumnBinding> result = new List <ColumnBinding>(); for (int i = 0; i < _tableData.ColumnNames.Length; i++) { MyColumnBinding myColumnBinding = new MyColumnBinding(this, i); result.Add(myColumnBinding); } return(result); }
protected override IList<ColumnBinding> BuildColumns() { // This method is called to build a list of all columns. NQuery will // this method only once so there is no need to cache the result. List<ColumnBinding> result = new List<ColumnBinding>(); for (int i = 0; i < _tableData.ColumnNames.Length; i++) { MyColumnBinding myColumnBinding = new MyColumnBinding(this, i); result.Add(myColumnBinding); } return result; }