1. Script object OG.Query

    Article: AN0002185Updated:

    This object offers functions for reading query metadata.

    Script functions

     

    Name Description
    Query GetById(int id) Function returns query according to the entered Id.
    QueryList GetAll() Function returns all the queries.
    Query GetByCode(string mCode, string qCode) Function returns query. If the query does not exist, an exception is raised.
    Query GetByCode( int mId, string qCode) Function returns query. If the query does not exist, an exception is raised.
    Query GetByCode(DataRow dr) Function returns query. If the query does not exist, an exception is raised.
    Query GetByCode(DataRow dr, string qCode)

    Function returns query. If the query does not exist, an exception is raised.

    Input parameter dr defines query and model. The returned query is defined by the input parameter qCode.

    Object call

    OG.Query

×