NHibernate.Loader.Criteria.CriteriaLoader.ToResultRow C# (CSharp) Method

ToResultRow() private method

private ToResultRow ( object row ) : object[]
row object
return object[]
		private object[] ToResultRow(object[] row)
		{
			if (resultRowLength == row.Length)
				return row;

			var result = new object[resultRowLength];
			int j = 0;
			for (int i = 0; i < row.Length; i++)
			{
				if (includeInResultRow[i])
					result[j++] = row[i];
			}

			return result;
		}