public ApplicationDbContextFactory( DbContextOptions options, IEntityConfigurationContainer entityConfigurationContainer ) { if (options == null) { throw new ArgumentNullException(nameof(options)); } if (entityConfigurationContainer == null) { throw new ArgumentNullException(nameof(entityConfigurationContainer)); } _options = options; _entityConfigurationContainer = entityConfigurationContainer; }
public ApplicationDbContext( DbContextOptions options, IEntityConfigurationContainer entityConfigurationContainer) : base(options) { _entityConfigurationContainer = entityConfigurationContainer; }