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