public StateManagerDependencies( [NotNull] IInternalEntityEntryFactory internalEntityEntryFactory, [NotNull] IInternalEntityEntrySubscriber internalEntityEntrySubscriber, [NotNull] IInternalEntityEntryNotifier internalEntityEntryNotifier, [NotNull] IValueGenerationManager valueGenerationManager, [NotNull] IModel model, [NotNull] IDatabase database, [NotNull] IConcurrencyDetector concurrencyDetector, [NotNull] ICurrentDbContext currentContext, [NotNull] IEntityFinderSource entityFinderSource, [NotNull] IDbSetSource setSource, [NotNull] IEntityMaterializerSource entityMaterializerSource, [NotNull] IExecutionStrategyFactory executionStrategyFactory, [NotNull] ILoggingOptions loggingOptions, [NotNull] IDiagnosticsLogger <DbLoggerCategory.Update> updateLogger, [NotNull] IDiagnosticsLogger <DbLoggerCategory.ChangeTracking> changeTrackingLogger) { InternalEntityEntryFactory = internalEntityEntryFactory; InternalEntityEntrySubscriber = internalEntityEntrySubscriber; InternalEntityEntryNotifier = internalEntityEntryNotifier; ValueGenerationManager = valueGenerationManager; Model = model; Database = database; ConcurrencyDetector = concurrencyDetector; CurrentContext = currentContext; EntityFinderSource = entityFinderSource; SetSource = setSource; EntityMaterializerSource = entityMaterializerSource; ExecutionStrategyFactory = executionStrategyFactory; LoggingOptions = loggingOptions; UpdateLogger = updateLogger; ChangeTrackingLogger = changeTrackingLogger; }
/// <summary> /// This API supports the Entity Framework Core infrastructure and is not intended to be used /// directly from your code. This API may change or be removed in future releases. /// </summary> public StateManager( [NotNull] IInternalEntityEntryFactory factory, [NotNull] IInternalEntityEntrySubscriber subscriber, [NotNull] IInternalEntityEntryNotifier notifier, [NotNull] IValueGenerationManager valueGeneration, [NotNull] IModel model, [NotNull] IDatabase database, [NotNull] IConcurrencyDetector concurrencyDetector, [NotNull] ICurrentDbContext currentContext, [NotNull] ILoggingOptions loggingOptions) { _factory = factory; _subscriber = subscriber; Notify = notifier; ValueGeneration = valueGeneration; _model = model; _database = database; _concurrencyDetector = concurrencyDetector; Context = currentContext.Context; if (loggingOptions.SensitiveDataLoggingEnabled) { _sensitiveLoggingEnabled = true; } }
/// <summary> /// This API supports the Entity Framework Core infrastructure and is not intended to be used /// directly from your code. This API may change or be removed in future releases. /// </summary> public StateManager( [NotNull] IInternalEntityEntryFactory factory, [NotNull] IInternalEntityEntrySubscriber subscriber, [NotNull] IInternalEntityEntryNotifier notifier, [NotNull] IValueGenerationManager valueGeneration, [NotNull] IModel model, [NotNull] IDatabase database, [NotNull] IConcurrencyDetector concurrencyDetector, [NotNull] ICurrentDbContext currentContext, [NotNull] IDbContextOptions contextOptions) { _factory = factory; _subscriber = subscriber; Notify = notifier; ValueGeneration = valueGeneration; _model = model; _database = database; _concurrencyDetector = concurrencyDetector; Context = currentContext.Context; if (contextOptions .Extensions .OfType <CoreOptionsExtension>() .FirstOrDefault() ?.IsSensitiveDataLoggingEnabled == true) { _sensitiveLoggingEnabled = true; } }
public ThrowingMonsterStateManager( IInternalEntityEntryFactory factory, IInternalEntityEntrySubscriber subscriber, IInternalEntityEntryNotifier notifier, IValueGenerationManager valueGeneration, IModel model, IDatabase database) : base(factory, subscriber, notifier, valueGeneration, model, database) { }
public ThrowingMonsterStateManager( IInternalEntityEntryFactory factory, IInternalEntityEntrySubscriber subscriber, IInternalEntityEntryNotifier notifier, IValueGenerationManager valueGeneration, IModel model, IDatabase database, IConcurrencyDetector concurrencyDetector, DbContext context) : base(factory, subscriber, notifier, valueGeneration, model, database, concurrencyDetector, context) { }
public ThrowingMonsterStateManager( IInternalEntityEntryFactory factory, IInternalEntityEntrySubscriber subscriber, IInternalEntityEntryNotifier notifier, IValueGenerationManager valueGeneration, IModel model, IDatabase database, IConcurrencyDetector concurrencyDetector, ICurrentDbContext currentContext) : base(factory, subscriber, notifier, valueGeneration, model, database, concurrencyDetector, currentContext) { }
public StateManagerProxy( IInternalEntityEntryFactory factory, IInternalEntityEntrySubscriber subscriber, IInternalEntityEntryNotifier notifier, IValueGenerationManager valueGeneration, IModel model, IDatabase database, IConcurrencyDetector concurrencyDetector, ICurrentDbContext currentContext) : base(factory, subscriber, notifier, valueGeneration, model, database, concurrencyDetector, currentContext) { IsInitialized = true; }
public ComBoostStateManager( IInternalEntityEntryFactory factory, IInternalEntityEntrySubscriber subscriber, IInternalEntityEntryNotifier notifier, IValueGenerationManager valueGeneration, IModel model, IDatabase database, IConcurrencyDetector concurrencyDetector, ICurrentDbContext currentContext, CurrentDatabaseContext currentDatabase) : base(factory, subscriber, notifier, valueGeneration, model, database, concurrencyDetector, currentContext) { _CurrentDatabase = currentDatabase; }
public ThrowingMonsterStateManager( IInternalEntityEntryFactory factory, IInternalEntityEntrySubscriber subscriber, IInternalEntityEntryNotifier notifier, IValueGenerationManager valueGeneration, IModel model, IDatabase database, IConcurrencyDetector concurrencyDetector, ICurrentDbContext currentContext, ILoggingOptions loggingOptions, IDiagnosticsLogger <DbLoggerCategory.Update> updateLogger) : base(factory, subscriber, notifier, valueGeneration, model, database, concurrencyDetector, currentContext, loggingOptions, updateLogger) { }
public StateManager( [NotNull] IInternalEntityEntryFactory factory, [NotNull] IInternalEntityEntrySubscriber subscriber, [NotNull] IInternalEntityEntryNotifier notifier, [NotNull] IValueGenerationManager valueGeneration, [NotNull] IModel model, [NotNull] IDatabase database) { _factory = factory; _subscriber = subscriber; Notify = notifier; ValueGeneration = valueGeneration; _model = model; _database = database; }
/// <summary> /// Clones this dependency parameter object with one service replaced. /// </summary> /// <param name="valueGenerationManager"> A replacement for the current dependency of this type. </param> /// <returns> A new parameter object with the given service replaced. </returns> public StateManagerDependencies With([NotNull] IValueGenerationManager valueGenerationManager) => new StateManagerDependencies( InternalEntityEntryFactory, InternalEntityEntrySubscriber, InternalEntityEntryNotifier, valueGenerationManager, Model, Database, ConcurrencyDetector, CurrentContext, EntityFinderSource, SetSource, EntityMaterializerSource, ExecutionStrategyFactory, LoggingOptions, UpdateLogger, ChangeTrackingLogger);
public StateManager( [NotNull] IInternalEntityEntryFactory factory, [NotNull] IEntityKeyFactorySource entityKeyFactorySource, [NotNull] IInternalEntityEntrySubscriber subscriber, [NotNull] IInternalEntityEntryNotifier notifier, [NotNull] IValueGenerationManager valueGeneration, [NotNull] IModel model, [NotNull] IDataStore dataStore) { _keyFactorySource = entityKeyFactorySource; _factory = factory; _subscriber = subscriber; Notify = notifier; ValueGeneration = valueGeneration; _model = model; _dataStore = dataStore; }
public StateManager( [NotNull] IInternalEntityEntryFactory factory, [NotNull] IInternalEntityEntrySubscriber subscriber, [NotNull] IInternalEntityEntryNotifier notifier, [NotNull] IValueGenerationManager valueGeneration, [NotNull] IModel model, [NotNull] IDatabase database, [NotNull] IConcurrencyDetector concurrencyDetector, [NotNull] DbContext context) { _factory = factory; _subscriber = subscriber; Notify = notifier; ValueGeneration = valueGeneration; _model = model; _database = database; _concurrencyDetector = concurrencyDetector; Context = context; }