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