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