コード例 #1
0
        public CypherProjectionExpressionVisitorFactory(
            [NotNull] CypherProjectionExpressionVisitorDependencies dependencies
            )
        {
            Check.NotNull(dependencies, nameof(dependencies));

            Dependencies = dependencies;
        }
コード例 #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;
        }