protected override void CustomizeTypesInfo() { base.CustomizeTypesInfo(); TypesInfo xafTypesInfo = (TypesInfo)TypesInfo; var xpotis = xafTypesInfo.EntityStores.OfType <XpoTypeInfoSource>().FirstOrDefault(); XPDictionary dict = XpoTypesInfoHelper.GetXpoTypeInfoSource().XPDictionary; xafTypesInfo.RegisterEntities(xpotis.XPDictionary.Classes .OfType <XPClassInfo>() .Where(ci => ci.IsPersistent) .Select(ci => ci.ClassType) .ToArray()); }