26 references to ResultShape
System.Data.Linq (26)
SqlClient\SqlProvider.cs (26)
822if (qi.ResultShape == ResultShape.Singleton) { 826else if (qi.ResultShape == ResultShape.Sequence) { 838QueryInfo[] qis = this.BuildQuery(ResultShape.Sequence, TypeSystem.GetSequenceType(elementType), query, parameters, annotations); 904if (qi.ResultShape == ResultShape.Singleton) { 908else if (qi.ResultShape == ResultShape.Sequence) { 1001if (queryInfos[i].ResultShape == ResultShape.Return) { 1013case ResultShape.Singleton: 1015case ResultShape.Sequence: 1044case ResultShape.Return: { 1047case ResultShape.Singleton: { 1100case ResultShape.Sequence: { 1124case ResultShape.MultipleResults: { 1293ResultShape resultShape; 1296internal QueryInfo(SqlNode query, string commandText, ReadOnlyCollection<SqlParameterInfo> parameters, ResultShape resultShape, Type resultType) { 1312internal ResultShape ResultShape { 1327private ResultShape GetResultShape(Expression query) { 1334return ResultShape.Return; 1337return ResultShape.MultipleResults; 1362return ResultShape.Return; 1377return ResultShape.Return; 1382return ResultShape.Singleton; 1385return ResultShape.Return; 1388return ResultShape.Sequence; 1438private QueryInfo[] BuildQuery(ResultShape resultShape, Type resultType, SqlNode node, ReadOnlyCollection<Me.SqlParameter> parentParameters, SqlNodeAnnotations annotations) { 1608(i < n - 1) ? ResultShape.Return : resultShape, 1681QueryInfo[] qis = this.BuildQuery(ResultShape.Sequence, resultType, suq, null, annotations);