protected IdentityServerDatabaseSeeder(string environment, ISeedDataProvider <ConfigurationDbContext> seedDataProvider, DbContext context, ILogger <IdentityServerDatabaseSeeder> logger)
 {
     Context          = context;
     SeedDataProvider = seedDataProvider;
     Logger           = logger;
     Environment      = environment;
 }
 public DevelopmentDatabaseSeeder(ISeedDataProvider <UserDbContext> seedDataProvider,
                                  UserManager <AspNetUser> userManager,
                                  RoleManager <IdentityRole> roleManager,
                                  ILogger <DevelopmentDatabaseSeeder> logger)
     : base(Environments.Development, seedDataProvider, userManager, roleManager, logger)
 {
 }
 public DatabaseSeeder(ISeedDataProvider <AuthorizationRegistryDbContext> seedDataProvider,
                       AuthorizationRegistryDbContext context,
                       string environment,
                       ILogger <DatabaseSeeder> logger)
     : base(seedDataProvider, context, environment, logger)
 {
 }
예제 #4
0
 public ClientsDatabaseSeeder(
     ISeedDataProvider <ConfigurationDbContext> seedDataProvider,
     ConfigurationDbContext context,
     string environment,
     ILogger <ClientsDatabaseSeeder> logger)
     : base(seedDataProvider, context, environment, logger)
 {
 }
 public IdentityResourcesSeeder(
     ISeedDataProvider <ConfigurationDbContext> seedDataProvider,
     ConfigurationDbContext context,
     string environment,
     ILogger <IdentityResourcesSeeder> logger)
     : base(seedDataProvider, context, environment, logger)
 {
 }
 public ApiResourcesSeeder(
     string environment,
     ILogger <ApiResourcesSeeder> logger,
     ISeedDataProvider <ConfigurationDbContext> seedDataProvider,
     ConfigurationDbContext context)
     : base(seedDataProvider, context, environment, logger)
 {
 }
예제 #7
0
 protected ReplaceCollectionDatabaseSeeder(ISeedDataProvider <TContext> seedDataProvider,
                                           DbContext context,
                                           string environment,
                                           ILogger <ReplaceCollectionDatabaseSeeder <TContext> > logger)
 {
     Context          = context;
     SeedDataProvider = seedDataProvider;
     Logger           = logger;
     Environment      = environment;
 }
예제 #8
0
 protected AspNetIdentityServerDatabaseSeeder(string environment,
                                              ISeedDataProvider <TUserDbContext> seedDataProvider,
                                              UserManager <TUser> userManager,
                                              RoleManager <IdentityRole> roleManager,
                                              ILogger <AspNetIdentityServerDatabaseSeeder <TUserDbContext, TUser> > logger)
 {
     SeedDataProvider = seedDataProvider;
     RoleManager      = roleManager;
     UserManager      = userManager;
     Logger           = logger;
     Environment      = environment;
 }
 public DevelopmentDatabaseSeeder(ILogger <DevelopmentDatabaseSeeder> logger,
                                  ISeedDataProvider <ConfigurationDbContext> seedDataProvider,
                                  ConfigurationDbContext context)
     : base(Environments.Development, seedDataProvider, context, logger)
 {
 }
 public DevelopmentDatabaseSeeder(ILogger <DevelopmentDatabaseSeeder> logger,
                                  ISeedDataProvider <AuthorizationRegistryDbContext> seedDataProvider,
                                  AuthorizationRegistryDbContext context)
     : base(logger, seedDataProvider, Environments.Development, context)
 {
 }
 public ProdDatabaseSeeder(ILogger <ProdDatabaseSeeder> logger,
                           ISeedDataProvider <ConfigurationDbContext> seedDataProvider,
                           ConfigurationDbContext context)
     : base(Environments.Prod, seedDataProvider, context, logger)
 {
 }
예제 #12
0
 public BookSeeder(IBookContext context, ILogger logger, ISeedDataProvider data)
 {
     _c        = context;
     _log      = logger;
     _dataRows = data.GetData();
 }
예제 #13
0
 public AccDatabaseSeeder(ILogger <AccDatabaseSeeder> logger,
                          ISeedDataProvider <AuthorizationRegistryDbContext> seedDataProvider,
                          AuthorizationRegistryDbContext context)
     : base(logger, seedDataProvider, Environments.Acc, context)
 {
 }