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