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