1. OG data type - ModelList

    Article: AN0001731Updated:

    This object is list of objects Model.

    Object properties

    All the function refer to the list of objects for which the function is called.

    Name Description
    ModelList GetByIds(List<int> list, bool allIfListNull) Function returns list of models according to input Id (parameter list). If the parameter list is NULL and parameter allIfListNull is True, then all the models are returned.
    ModelList GetByIds(List<int> list) Function returns list of models according to input Id (parameter list).
    bool IsUserITOwner(int personId) Function finds out if the input user is IT owner of some model from the list of models.
    Model GetByCode(string code) Function returns model according to the input code.
    ModelList SortByNameToNewList() Function creates a new list of models and sorts it by name.
    void SortByName() Method sorts models by name.
    Model this[string code] Function returns model according to the input code.

     

×