Controls access to queries by defining which users and roles can run specific queries.

Hierarchy (view full)

Implements

Constructors

Properties

Accessors

Methods

Constructors

Properties

ID: any = null

Primary Key

Query: string = null

Query name from the related query

QueryID: string = null

Foreign key to the query this permission applies to

Role: string = null

Name of the role that has permission to run this query

RoleID: string = null

Foreign key to the role that has permission

Accessors

Methods

  • Copies initialization data from a plain object to the class instance. Only copies properties that already exist on the class to prevent creating new fields. Special handling for DefaultValue fields to extract actual values from SQL Server syntax.

    Parameters

    • initData: any

      The initialization data object

    Returns void