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