コード例 #1
0
ファイル: ResourceExpression.cs プロジェクト: nickchal/pash
 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;
 }
コード例 #2
0
 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;
 }