1. OG data type - DistributionGroupList

    Article: AN0001685Updated:

    This object is a list of objects DistributionGroup.

    Object properties

    All functions relate to the list of objects over which the function is called.

     

    Name Description
    DistributionGroup GetByCode(string code) Function returns distribution group by the input code.
    DistributionGroupList GetByModelId(int? modelId, bool addDistGroupWithoutModel) Function returns list of distribution groups by the input model id.
    DistributionGroupList GetEnabledAndSendEmail() Function returns list of distribution groups, that are enabled and have indication Send as email.
    DistributionGroup GetById(int? id) Function returns distribution group by the input id.
    List<int> GetIds() Function returns list of ID of distribution groups that are in the list.
    int GetMaxId() Function returns max ID from the list.
    int GetMinId() Function returns min ID from the list.
    DistributionGroup this[string code] Function returns distribution group by the input code.
    void RemoveById(int id, bool duplicityId) Method deletes distribution group from the list of distribution groups by the input ID.

     

×