Interface EntityType

未来将对接 Cube 定义

Entity Type 类型接口

interface EntityType {
    caption?: string;
    catalog?: string;
    cube?: Cube;
    defaultMeasure?: string;
    dialect?: any;
    indicators?: Indicator[];
    keys?: string[];
    name: string;
    parameters?: {
        [name: string]: ParameterProperty;
    };
    properties: {
        [name: string]: Property;
    };
    semantics?: EntitySemantics;
    syntax?: Syntax;
    visible?: boolean;
}

Hierarchy

Properties

caption?: string

Caption for entity

catalog?: string

Catalog of entity

cube?: Cube
defaultMeasure?: string
dialect?: any
indicators?: Indicator[]

Deprecated

应该移到 EntitySet 里

keys?: string[]

Entity 主键们 与 Parameters 的区别

name: string
parameters?: {
    [name: string]: ParameterProperty;
}

要查询 Entity 的输入参数, 通常是必输字段

Type declaration

properties: {
    [name: string]: Property;
}

Type declaration

semantics?: EntitySemantics
syntax?: Syntax
visible?: boolean

Visible Property

Generated using TypeDoc