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