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