internal override ResourceExpression CreateCloneWithNewType(Type type)
 {
     return(new NavigationPropertySingletonExpression(type, base.Source, MemberExpression, TypeSystem.GetElementType(type), ExpandPaths.ToList(), CountOption, CustomQueryOptions.ToDictionary((KeyValuePair <ConstantExpression, ConstantExpression> kvp) => kvp.Key, (KeyValuePair <ConstantExpression, ConstantExpression> kvp) => kvp.Value), base.Projection));
 }
Ejemplo n.º 2
0
 internal override ResourceExpression CreateCloneWithNewType(Type type)
 {
     return(new ResourceSetExpression(type, base.Source, MemberExpression, TypeSystem.GetElementType(type), ExpandPaths.ToList(), CountOption, CustomQueryOptions.ToDictionary((KeyValuePair <ConstantExpression, ConstantExpression> kvp) => kvp.Key, (KeyValuePair <ConstantExpression, ConstantExpression> kvp) => kvp.Value), base.Projection)
     {
         keyFilter = keyFilter,
         sequenceQueryOptions = sequenceQueryOptions,
         transparentScope = transparentScope
     });
 }