public static void SeedHostDb(ElementAdminDbContext 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(ElementAdminDbContext context) { _context = context; }
public InitialHostDbBuilder(ElementAdminDbContext context) { _context = context; }
public MenuRepositoriy_Test() { _menuRepository = Resolve <IRepository <Menu, long> >(); _baseRepository = Resolve <ElementAdminDbContext>(); }
public DefaultLanguagesCreator(ElementAdminDbContext context) { _context = context; }
public HostRoleAndUserCreator(ElementAdminDbContext context) { _context = context; }
public TenantRoleAndUserBuilder(ElementAdminDbContext context, int tenantId) { _context = context; _tenantId = tenantId; }
public DefaultSettingsCreator(ElementAdminDbContext context) { _context = context; }
public DefaultTenantBuilder(ElementAdminDbContext context) { _context = context; }