public ScopeParameterDictionary Clone(ParameterExpression key, IObjectModel valueOfkey) { ScopeParameterDictionary ret = this.Clone(this.Count + 1); ret[key] = valueOfkey; return(ret); }
public ScopeParameterDictionary Clone(int capacity) { ScopeParameterDictionary ret = new ScopeParameterDictionary(capacity); foreach (var kv in this) { ret.Add(kv.Key, kv.Value); } return(ret); }
public QueryModel(ScopeParameterDictionary scopeParameters, StringSet scopeTables, bool ignoreFilters) { if (scopeTables == null) { this.ScopeTables = new StringSet(); } else { this.ScopeTables = scopeTables.Clone(); } if (scopeParameters == null) { this.ScopeParameters = new ScopeParameterDictionary(); } else { this.ScopeParameters = scopeParameters.Clone(); } this.IgnoreFilters = ignoreFilters; }
public ResultElement(ScopeParameterDictionary scopeParameters, KeyDictionary <string> scopeTables) { this.Orderings = new List <DbOrdering>(); this.GroupSegments = new List <DbExpression>(); if (scopeTables == null) { this.ScopeTables = new KeyDictionary <string>(); } else { this.ScopeTables = scopeTables.Clone(); } if (scopeParameters == null) { this.ScopeParameters = new ScopeParameterDictionary(); } else { this.ScopeParameters = scopeParameters.Clone(); } }
public static IMappingObjectExpression Resolve(LambdaExpression selector, ScopeParameterDictionary scopeParameters, KeyDictionary <string> scopeTables) { SelectorResolver resolver = new SelectorResolver(scopeParameters, scopeTables); return(resolver.Visit(selector)); }
SelectorResolver(ScopeParameterDictionary scopeParameters, KeyDictionary <string> scopeTables) { this._scopeParameters = scopeParameters; this._scopeTables = scopeTables; }
SelectorExpressionVisitor(ScopeParameterDictionary scopeParameters, KeyDictionary <string> scopeTables) { this._scopeParameters = scopeParameters; this._scopeTables = scopeTables; }
public static IObjectModel Resolve(LambdaExpression selector, ScopeParameterDictionary scopeParameters, StringSet scopeTables) { SelectorResolver resolver = new SelectorResolver(scopeParameters, scopeTables); return(resolver.Visit(selector)); }
SelectorResolver(ScopeParameterDictionary scopeParameters, StringSet scopeTables) { this._scopeParameters = scopeParameters; this._scopeTables = scopeTables; }
public QueryModel(ScopeParameterDictionary scopeParameters, StringSet scopeTables) : this(scopeParameters, scopeTables, false) { }