public MaterializerBuildingExpressionVisitor( IImpatientExpressionVisitorProvider expressionVisitorProvider, ParameterExpression readerParameter) { this.expressionVisitorProvider = expressionVisitorProvider; this.readerParameter = readerParameter; }
public QueryCompilingExpressionVisitor( IImpatientExpressionVisitorProvider expressionVisitorProvider, ParameterExpression queryProviderParameter) { this.expressionVisitorProvider = expressionVisitorProvider ?? throw new ArgumentNullException(nameof(expressionVisitorProvider)); this.queryProviderParameter = queryProviderParameter ?? throw new ArgumentNullException(nameof(queryProviderParameter)); }
public ImpatientQueryProvider( IImpatientDbConnectionFactory connectionFactory, IImpatientQueryCache queryCache, IImpatientExpressionVisitorProvider expressionVisitorProvider) { ConnectionFactory = connectionFactory ?? throw new ArgumentNullException(nameof(connectionFactory)); QueryCache = queryCache ?? throw new ArgumentNullException(nameof(queryCache)); ExpressionVisitorProvider = expressionVisitorProvider ?? throw new ArgumentNullException(nameof(expressionVisitorProvider)); }
public QueryTranslatingExpressionVisitor(IImpatientExpressionVisitorProvider expressionVisitorProvider) { ExpressionVisitorProvider = expressionVisitorProvider ?? throw new ArgumentNullException(nameof(expressionVisitorProvider)); Builder = new DefaultDbCommandExpressionBuilder(); }