private QExecutionBuilder(QueryPolicy policy, Expression provider) { isTop = true; initializers = new List<Expression>(); variables = new List<ParameterExpression>(); this.policy = policy; this.provider = provider; }
public static Expression Build(QueryPolicy policy, Expression expression, Expression provider) { return new QExecutionBuilder(policy, provider).Build(expression); }
public static Expression Include(QueryPolicy policy, Expression expression) { return new RelationshipIncluder(policy).Visit(expression); }
internal KdbContext(IConnection connection, TextWriter log, QueryPolicy policy) { Provider = new KdbQueryProvider(connection, policy, log); }
private RelationshipIncluder(QueryPolicy policy) { this.policy = policy; this.mapping = policy.Mapping; }