Example #1
0
 /// <inheritdoc />
 public MongoDbEntityQueryModelVisitorFactory(
     [NotNull] EntityQueryModelVisitorDependencies entityQueryModelVisitorDependencies,
     [NotNull] MongoDbEntityQueryModelVisitorDependencies mongoDbEntityQueryModelVisitorDependencies)
     : base(Check.NotNull(entityQueryModelVisitorDependencies, nameof(entityQueryModelVisitorDependencies)))
 {
     MongoDbDependencies
         = Check.NotNull(mongoDbEntityQueryModelVisitorDependencies, nameof(mongoDbEntityQueryModelVisitorDependencies));
 }
Example #2
0
 /// <inheritdoc />
 public MongoDbEntityQueryModelVisitor(
     [NotNull] EntityQueryModelVisitorDependencies entityQueryModelVisitorDependencies,
     [NotNull] QueryCompilationContext queryCompilationContext,
     [NotNull] MongoDbEntityQueryModelVisitorDependencies mongoDbEntityQueryModelVisitorDependencies)
     : base(
         Check.NotNull(entityQueryModelVisitorDependencies, nameof(entityQueryModelVisitorDependencies)),
         Check.NotNull(queryCompilationContext, nameof(queryCompilationContext))
         )
 {
     _projectionExpressionVisitorFactory = entityQueryModelVisitorDependencies
                                           .ProjectionExpressionVisitorFactory;
     _mongoDbDenormalizedCollectionCompensatingVisitorFactory
         = Check.NotNull(mongoDbEntityQueryModelVisitorDependencies, nameof(mongoDbEntityQueryModelVisitorDependencies))
           .MongoDbDenormalizedCollectionCompensatingVisitorFactory;
 }