6 instantiations of ResourceSetExpression
System.Data.Services.Client (6)
System\Data\Services\Client\ALinq\DataServiceExpressionVisitor.cs (1)
62
rse = new
ResourceSetExpression
(rse.Type, source, rse.MemberExpression, rse.ResourceType, rse.ExpandPaths, rse.CountOption, rse.CustomQueryOptions, rse.Projection);
System\Data\Services\Client\ALinq\ResourceBinder.cs (3)
939
ResourceSetExpression newResource = new
ResourceSetExpression
(expressionType, source, memberExpression, resourceType, source.ExpandPaths.ToList(), source.CountOption, source.CustomQueryOptions.ToDictionary(kvp => kvp.Key, kvp => kvp.Value), null);
968
ResourceSetExpression newResource = new
ResourceSetExpression
(expectedResultType, input.Source, input.MemberExpression, input.ResourceType, input.ExpandPaths, input.CountOption, input.CustomQueryOptions, input.Projection);
1041
return new
ResourceSetExpression
(rse.Type, rse.Source, rse.MemberExpression, rse.ResourceType, null, CountOption.None, null, null);
System\Data\Services\Client\ALinq\ResourceSetExpression.cs (1)
214
ResourceSetExpression rse = new
ResourceSetExpression
(
System\Data\Services\Client\DataServiceContext.cs (1)
584
ResourceSetExpression rse = new
ResourceSetExpression
(typeof(IOrderedQueryable<T>), null, Expression.Constant(entitySetName), typeof(T), null, CountOption.None, null, null);
66 references to ResourceSetExpression
System.Data.Services.Client (66)
System\Data\Services\Client\ALinq\DataServiceExpressionVisitor.cs (3)
41
return this.VisitResourceSetExpression((
ResourceSetExpression
)exp);
56
internal virtual Expression VisitResourceSetExpression(
ResourceSetExpression
rse)
87
/// based on the visited form of the <see cref="
ResourceSetExpression
"/> that is referenced by
System\Data\Services\Client\ALinq\DataServiceQueryProvider.cs (1)
149
if (!(e is
ResourceSetExpression
))
System\Data\Services\Client\ALinq\InputBinder.cs (6)
43
private readonly
ResourceSetExpression
inputSet;
58
this.inputSet = resource as
ResourceSetExpression
;
65
/// <see cref="
ResourceSetExpression
"/>s, based on the 'input' ResourceSetExpression to which the
137
ResourceSetExpression
targetSet = this.inputSet;
175
targetSet = source as
ResourceSetExpression
;
183
targetSet = sourceReference.Target as
ResourceSetExpression
;
System\Data\Services\Client\ALinq\InputReferenceExpression.cs (2)
60
/// <param name="newTarget">The <see cref="
ResourceSetExpression
"/> that this input reference should use as its target</param>
61
internal void OverrideTarget(
ResourceSetExpression
newTarget)
System\Data\Services\Client\ALinq\ResourceBinder.cs (46)
70
ResourceSetExpression
rse = re.Source as
ResourceSetExpression
;
102
ResourceSetExpression
resourceSet = expression as
ResourceSetExpression
;
133
ResourceSetExpression
input;
159
Dictionary<
ResourceSetExpression
, List<Expression>> predicatesByTarget = new Dictionary<
ResourceSetExpression
, List<Expression>>(ReferenceEqualityComparer<
ResourceSetExpression
>.Instance);
170
ResourceSetExpression
boundTarget = (referencedInputs.Count == 0 ? input : referencedInputs[0] as
ResourceSetExpression
);
199
foreach (KeyValuePair<
ResourceSetExpression
, List<Expression>> predicates in predicatesByTarget)
201
ResourceSetExpression
target = predicates.Key;
275
private static void SetKeyPredicate(
ResourceSetExpression
rse, Dictionary<PropertyInfo, ConstantExpression> keyValues)
352
ResourceSetExpression
target,
617
return RemoveTransparentScope(mce.Method.ReturnType, (
ResourceSetExpression
)input);
675
ResourceSetExpression
rse = null;
708
private static Expression AnalyzeSelectManySelector(MethodCallExpression selectManyCall,
ResourceSetExpression
sourceResourceSet)
716
ResourceSetExpression
.TransparentAccessors transparentScope;
751
internal static Expression ApplyOrdering(MethodCallExpression mce,
ResourceSetExpression
input, Expression selector, bool descending, bool thenBy)
790
ResourceSetExpression
rse = mce.Arguments[0] as
ResourceSetExpression
;
923
/// <returns>A new <see cref="
ResourceSetExpression
"/> instance.</returns>
924
private static
ResourceSetExpression
CreateResourceSetExpression(Type type, ResourceExpression source, Expression memberExpression, Type resourceType)
939
ResourceSetExpression
newResource = new ResourceSetExpression(expressionType, source, memberExpression, resourceType, source.ExpandPaths.ToList(), source.CountOption, source.CustomQueryOptions.ToDictionary(kvp => kvp.Key, kvp => kvp.Value), null);
956
/// Produces a new <see cref="
ResourceSetExpression
"/> that is a clone of <paramref name="input"/> in all respects,
965
private static
ResourceSetExpression
RemoveTransparentScope(Type expectedResultType,
ResourceSetExpression
input)
968
ResourceSetExpression
newResource = new ResourceSetExpression(expectedResultType, input.Source, input.MemberExpression, input.ResourceType, input.ExpandPaths, input.CountOption, input.CustomQueryOptions, input.Projection);
1030
internal override Expression VisitResourceSetExpression(
ResourceSetExpression
rse)
1047
private static bool TryGetResourceSetMethodArguments(MethodCallExpression mce, out
ResourceSetExpression
input, out LambdaExpression lambda)
1052
input = mce.Arguments[0] as
ResourceSetExpression
;
1074
private static Expression AnalyzeResourceSetMethod(MethodCallExpression mce, Func<MethodCallExpression,
ResourceSetExpression
, Expression, Expression> sequenceMethodAnalyzer)
1076
ResourceSetExpression
input;
1127
ResourceSetExpression
rse = (
ResourceSetExpression
)target;
1638
ResourceSetExpression
rse = input as
ResourceSetExpression
;
1704
internal static bool MatchTransparentScopeSelector(
ResourceSetExpression
input, LambdaExpression resultSelector, out
ResourceSetExpression
.TransparentAccessors transparentScope)
1739
ResourceSetExpression
inputSourceSet = input.Source as
ResourceSetExpression
;
1808
transparentScope = new
ResourceSetExpression
.TransparentAccessors(resultAccessor, sourceAccessors);
2233
ResourceSetExpression
resourceSet = e as
ResourceSetExpression
;
2324
ResourceSetExpression
rse = target as
ResourceSetExpression
;
System\Data\Services\Client\ALinq\ResourceSetExpression.cs (2)
214
ResourceSetExpression
rse = new ResourceSetExpression(
251
internal void OverrideInputReference(
ResourceSetExpression
newInput)
System\Data\Services\Client\ALinq\UriWriter.cs (5)
41
private
ResourceSetExpression
leafResourceSet;
66
writer.leafResourceSet = addTrailingParens ? (e as
ResourceSetExpression
) : null;
230
internal override Expression VisitResourceSetExpression(
ResourceSetExpression
rse)
298
ResourceSetExpression
rse = re as
ResourceSetExpression
;
System\Data\Services\Client\DataServiceContext.cs (1)
584
ResourceSetExpression
rse = new ResourceSetExpression(typeof(IOrderedQueryable<T>), null, Expression.Constant(entitySetName), typeof(T), null, CountOption.None, null, null);