private void InitializeColumnNames() { // Generate an 2d array of column names, the first dimension is parallel with the // return types array. The second dimension is the list of column names for each // type. // todo: we should really just collect these from the various SelectExpressions, rather than regenerating here _columnNames = SessionFactoryHelper.GenerateColumnNames(_queryReturnTypes); }
private void InitializeColumnNames() { // Generate an 2d array of column names, the first dimension is parallel with the // return types array. The second dimension is the list of column names for each // type. // todo: we should really just collect these from the various SelectExpressions, rather than regenerating here _columnNames = SessionFactoryHelper.GenerateColumnNames(_queryReturnTypes); _columnNamesStartPositions = new int[_columnNames.Length]; int startPosition = 1; for (int i = 0; i < _columnNames.Length; i++) { _columnNamesStartPositions[i] = startPosition; startPosition += _columnNames[i].Length; } }