1. OG data type - QueryList

    Article: AN0001744Updated:

    This object is list of objects Query.

    Object properties

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

    Name Description
    QueryList GetByModelId(int? modelId) Function returns list of queries for the input model.
    QueryList GetByCode(string code) Function returns list of queries for the input query code.
    Query GetByCode(string code, int modelId) Function returns query according to the given model and code.
    Query this[string code] Function returns the first query according to the given code.
    Query this[int index] Function returns query according to the given index.
    void SortByName() Method orders collection of queries by name.

     

×