public static void SeedHostDb(MAPPhoneBookDbContext 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 InitialHostDbBuilder(MAPPhoneBookDbContext context) { _context = context; }
public DefaultTenantBuilder(MAPPhoneBookDbContext context) { _context = context; }
public HostRoleAndUserCreator(MAPPhoneBookDbContext context) { _context = context; }
public DefaultSettingsCreator(MAPPhoneBookDbContext context) { _context = context; }
public TenantRoleAndUserBuilder(MAPPhoneBookDbContext context, int tenantId) { _context = context; _tenantId = tenantId; }
public DefaultEditionCreator(MAPPhoneBookDbContext context) { _context = context; }
public DefaultLanguagesCreator(MAPPhoneBookDbContext context) { _context = context; }