internal ResourceExpression(Expression source, System.Type type, List<string> expandPaths, System.Data.Services.Client.CountOption countOption, Dictionary<ConstantExpression, ConstantExpression> customQueryOptions, ProjectionQueryOptionExpression projection, System.Type resourceTypeAs, Version uriVersion) { this.source = source; this.type = type; this.expandPaths = expandPaths ?? new List<string>(); this.countOption = countOption; this.customQueryOptions = customQueryOptions ?? new Dictionary<ConstantExpression, ConstantExpression>(ReferenceEqualityComparer<ConstantExpression>.Instance); this.projection = projection; this.ResourceTypeAs = resourceTypeAs; this.uriVersion = uriVersion ?? Util.DataServiceVersion1; }
internal ResourceExpression(Expression source, System.Type type, List <string> expandPaths, System.Data.Services.Client.CountOption countOption, Dictionary <ConstantExpression, ConstantExpression> customQueryOptions, ProjectionQueryOptionExpression projection, System.Type resourceTypeAs, Version uriVersion) { this.source = source; this.type = type; this.expandPaths = expandPaths ?? new List <string>(); this.countOption = countOption; this.customQueryOptions = customQueryOptions ?? new Dictionary <ConstantExpression, ConstantExpression>(ReferenceEqualityComparer <ConstantExpression> .Instance); this.projection = projection; this.ResourceTypeAs = resourceTypeAs; this.uriVersion = uriVersion ?? Util.DataServiceVersion1; }