public static void SeedHostDb(AbbyDbContext context) { context.SuppressAutoSetTenantId = true; // Host seed new InitialHostDbBuilder(context).Create(); // Default tenant seed (in host database). new DefaultTenantBuilder(context).Create(); new TenantRoleAndUserBuilder(context, 1).Create(); }
public HostRoleAndUserCreator(AbbyDbContext context) { _context = context; }
public InitialHostDbBuilder(AbbyDbContext context) { _context = context; }
public DefaultTenantBuilder(AbbyDbContext context) { _context = context; }
public TenantRoleAndUserBuilder(AbbyDbContext context, int tenantId) { _context = context; _tenantId = tenantId; }
public DefaultLanguagesCreator(AbbyDbContext context) { _context = context; }
public DefaultEditionCreator(AbbyDbContext context) { _context = context; }
public DefaultSettingsCreator(AbbyDbContext context) { _context = context; }