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