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