18 references to CountOption
System.Data.Services.Client (18)
System\Data\Services\Client\ALinq\NavigationPropertySingletonExpression.cs (2)
47internal NavigationPropertySingletonExpression(Type type, Expression source, Expression memberExpression, Type resourceType, List<string> expandPaths, CountOption countOption, Dictionary<ConstantExpression, ConstantExpression> customQueryOptions, ProjectionQueryOptionExpression projection) 92this.CountOption == CountOption.InlineAll ||
System\Data\Services\Client\ALinq\ResourceBinder.cs (8)
899private static Expression AnalyzeAddCountOption(MethodCallExpression mce, CountOption countOption) 941source.CountOption = CountOption.None; 950source.CountOption = CountOption.None; 1041return new ResourceSetExpression(rse.Type, rse.Source, rse.MemberExpression, rse.ResourceType, null, CountOption.None, null, null); 1119re.CountOption = CountOption.ValueOnly; 1287return AnalyzeAddCountOption(mce, CountOption.InlineAll); 2288if (re.CountOption != CountOption.None) 2351if (rse.CountOption != CountOption.None)
System\Data\Services\Client\ALinq\ResourceExpression.cs (3)
54private CountOption countOption; 72internal ResourceExpression(Expression source, ExpressionType nodeType, Type type, List<string> expandPaths, CountOption countOption, Dictionary<ConstantExpression, ConstantExpression> customQueryOptions, ProjectionQueryOptionExpression projection) 110internal virtual CountOption CountOption
System\Data\Services\Client\ALinq\ResourceSetExpression.cs (2)
61internal ResourceSetExpression(Type type, Expression source, Expression memberExpression, Type resourceType, List<string> expandPaths, CountOption countOption, Dictionary<ConstantExpression, ConstantExpression> customQueryOptions, ProjectionQueryOptionExpression projection) 150this.CountOption == CountOption.InlineAll || // value only count is not an option
System\Data\Services\Client\ALinq\UriWriter.cs (2)
275if (rse.CountOption == CountOption.ValueOnly) 356if (re.CountOption == CountOption.InlineAll)
System\Data\Services\Client\DataServiceContext.cs (1)
584ResourceSetExpression rse = new ResourceSetExpression(typeof(IOrderedQueryable<T>), null, Expression.Constant(entitySetName), typeof(T), null, CountOption.None, null, null);