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