Beispiel #1
0
        public CypherProjectionExpressionVisitorFactory(
            [NotNull] CypherProjectionExpressionVisitorDependencies dependencies
            )
        {
            Check.NotNull(dependencies, nameof(dependencies));

            Dependencies = dependencies;
        }
Beispiel #2
0
        public CypherProjectionExpressionVisitor(
            [NotNull] CypherProjectionExpressionVisitorDependencies dependencies,
            [NotNull] CypherQueryModelVisitor queryModelVisitor,
            [NotNull] IQuerySource querySource
            ) : base(Check.NotNull(queryModelVisitor, nameof(queryModelVisitor)))
        {
            Check.NotNull(dependencies, nameof(dependencies));
            Check.NotNull(querySource, nameof(querySource));

            _cypherTranslatingExpressionVisitorFactory = dependencies.CypherTranslatingExpressionVisitorFactory;
            _entityMaterializerSource = dependencies.EntityMaterializerSource;
            _querySource    = querySource;
            _topLevelReturn = true;
        }