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