Ejemplo n.º 1
0
        public CypherEntityQueryableExpressionVisitorFactory(
            [NotNull] CypherEntityQueryableExpressionVisitorDependencies dependencies
            )
        {
            Check.NotNull(dependencies, nameof(dependencies));

            Dependencies = dependencies;
        }
        public CypherEntityQueryableExpressionVisitor(
            [NotNull] CypherEntityQueryableExpressionVisitorDependencies dependencies,
            [NotNull] CypherQueryModelVisitor queryModelVisitor,
            [CanBeNull] IQuerySource querySource
            ) : base(Check.NotNull(queryModelVisitor, nameof(queryModelVisitor)))
        {
            Check.NotNull(dependencies, nameof(dependencies));

            _model       = dependencies.Model;
            _querySource = querySource;
            _readOnlyExpressionFactory   = dependencies.ReadOnlyExpressionFactory;
            _materializerFactory         = dependencies.MaterializerFactory;
            _shaperCommandContextFactory = dependencies.ShaperCommandContextFactory;
        }