Interface EntityService<T>

CURD service for entity

interface EntityService {
    __id__?: string;
    dataSource: DataSource;
    entitySet: string;
    getAnnotation<AT>(term, qualifier?): Observable<AT>;
    getCalculatedMember(measure, type, calendar?): Property;
    getIndicator(id): Indicator;
    getMembers(property): Observable<IDimensionMember[]>;
    onDestroy(): void;
    query(options?): Observable<QueryReturn<T>>;
    refresh(): void;
    selectEntityType(): Observable<EntityType>;
    selectMembers(property): Observable<IDimensionMember[]>;
    selectQuery(options?): Observable<QueryReturn<T>>;
}

Type Parameters

  • T

Implemented by

Properties

__id__?: string
dataSource: DataSource
entitySet: string

Methods

  • 获取常用函数生成的计算度量成员

    Parameters

    • measure: string

      the name of indicator based measure

    • type: PeriodFunctions

      time period function for indicator

    • Optional calendar: string

      calendar hierarchy name

    Returns Property

Generated using TypeDoc