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