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