Ejemplo n.º 1
0
 /// <inheritdoc />
 public MongoDbQueryContextFactory(
     [NotNull] QueryContextDependencies queryContextDependencies,
     [NotNull] IEntityLoadInfoFactory entityLoadInfoFactory)
     : base(
         Check.NotNull(queryContextDependencies, nameof(queryContextDependencies)))
 {
     _entityLoadInfoFactory = Check.NotNull(entityLoadInfoFactory, nameof(entityLoadInfoFactory));
 }
Ejemplo n.º 2
0
        /// <inheritdoc />
        public MongoDbQueryBuffer(
            [NotNull] QueryContextDependencies dependencies,
            [NotNull] IEntityLoadInfoFactory entityLoadInfoFactory)

            : base(dependencies)
        {
            _model                 = dependencies.CurrentDbContext.Context.Model;
            _stateManager          = dependencies.StateManager;
            _entityLoadInfoFactory = Check.NotNull(entityLoadInfoFactory, nameof(entityLoadInfoFactory));
        }