2 writes to Projection
System.Data.Services.Client (2)
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (2)
56
re.
Projection
= new ProjectionQueryOptionExpression(le.Body.Type, le, new List<string>());
225
resource.
Projection
= new ProjectionQueryOptionExpression(lambda.Body.Type, lambda, pb.ProjectionPaths.ToList());
20 references to Projection
System.Data.Services.Client (20)
System\Data\Services\Client\ALinq\DataServiceExpressionVisitor.cs (2)
62
rse = new ResourceSetExpression(rse.Type, source, rse.MemberExpression, rse.ResourceType, rse.ExpandPaths, rse.CountOption, rse.CustomQueryOptions, rse.
Projection
);
79
npse = new NavigationPropertySingletonExpression(npse.Type, source, npse.MemberExpression, npse.MemberExpression.Type, npse.ExpandPaths, npse.CountOption, npse.CustomQueryOptions, npse.
Projection
);
System\Data\Services\Client\ALinq\DataServiceQueryProvider.cs (4)
160
Type lastSegmentType = re.
Projection
== null ? re.ResourceType : re.
Projection
.Selector.Parameters[0].Type;
161
LambdaExpression selector = re.
Projection
== null ? null : re.
Projection
.Selector;
System\Data\Services\Client\ALinq\NavigationPropertySingletonExpression.cs (2)
94
this.
Projection
!= null;
113
this.
Projection
);
System\Data\Services\Client\ALinq\ResourceBinder.cs (7)
105
ProjectionQueryOptionExpression projection = resourceSet.
Projection
;
968
ResourceSetExpression newResource = new ResourceSetExpression(expectedResultType, input.Source, input.MemberExpression, input.ResourceType, input.ExpandPaths, input.CountOption, input.CustomQueryOptions, input.
Projection
);
1141
else if (rse.
Projection
!= null)
1155
else if (rse.
Projection
!= null)
2240
if (PatternRules.MatchResource(e, out resource) && resource.
Projection
!= null)
2254
if (re.
Projection
!= null)
2273
if (re.
Projection
!= null)
System\Data\Services\Client\ALinq\ResourceSetExpression.cs (2)
152
this.
Projection
!= null;
222
this.
Projection
);
System\Data\Services\Client\ALinq\UriWriter.cs (3)
345
if (re.
Projection
!= null && re.
Projection
.Paths.Count > 0)
352
this.VisitProjectionPaths(re.
Projection
.Paths);