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