Ejemplo n.º 1
0
 public static void Set_Type(IModelNotificationType item, IModelClass modelClass) => item.TypeId = modelClass.Id();
Ejemplo n.º 2
0
 public static IModelList <IModelClass> Get_Types(this IModelNotificationType notification)
 => notification.Application.BOModel.SelectMany(c => c.AllMembers.Where(IsIndex)
                                                .Select(_ => c).Distinct()).ToCalculatedModelNodeList();
Ejemplo n.º 3
0
 public static IModelClass Get_Type(IModelNotificationType item)
 => item.Application.BOModel[item.TypeId];
Ejemplo n.º 4
0
 public static IModelList <IModelMember> Get_ObjectIndexMembers(this IModelNotificationType notification)
 => notification.Application.BOModel.Where(c => c == notification.Type && notification.Type != null)
 .SelectMany(c => c.AllMembers).Where(IsIndex).ToCalculatedModelNodeList();