Skip to content

Добавить поддержку, расширение навигационных свойств #5

Description

@AlmazGataullin

Пример получаем табличную часть версии и у конкретной версии хотим узнать расширение для этого получаем

AssociatedApplication и видим только DisplayValue и Value и Extensions при этом никак не увидеть

import { IChildEntity, IChildEntityCollection, IEntity, INavigationPropertyValue } from '@directum/sungero-remote-component-types';

export interface IVersionRow extends IChildEntity<IVersions> {
    Number: number,
    Note: string | null,
    AssociatedApplication: INavigationPropertyValue | null,
    BodyAssociatedApplication: INavigationPropertyValue | null
}

export interface IVersions extends IEntity {
    Versions : IChildEntityCollection<IVersions, IVersionRow>;
}
/** Значение для свойства типа Ссылка. */
export interface INavigationPropertyValue {
  /** Идентификатор сущности. */
  Value: number;
  /** Отображаемое значение. */
  DisplayValue: string;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions