Options
All
  • Public
  • Public/Protected
  • All
Menu

FunctionResultField

Type parameters

  • EntityT: Entity

    Type of the entity the complex type field belongs to.

Hierarchy

  • ComplexTypeField<EntityT>
    • FunctionResultField

Implements

  • EntityIdentifiable<EntityT>

Index

Constructors

constructor

  • new FunctionResultField(fieldName: string, entityConstructor: Constructable<EntityT>, complexTypeName: string): FunctionResultField
  • Creates an instance of ComplexTypeField.

    Parameters

    • fieldName: string

      Actual name of the field used in the OData request

    • entityConstructor: Constructable<EntityT>

      Constructor type of the entity the field belongs to

    • complexTypeName: string

      Type of the field according to the metadata description

    Returns FunctionResultField

Properties

boolean

boolean: ComplexTypeBooleanPropertyField<EntityT> = new ComplexTypeBooleanPropertyField('Boolean', this.entityConstructor, 'FunctionResult', 'Edm.Boolean')

Representation of the FunctionResult.boolean property for query construction. Use to reference this property in query operations such as 'filter' in the fluent request API.

complexTypeName

complexTypeName: string

entityConstructor

entityConstructor: Constructable<EntityT>

fieldName

fieldName: string

Methods

fieldPath

  • fieldPath(): string
  • Path to the field to be used in filter and order by queries. In most cases this will just be the fieldName itself. However, for complex types for instance, the path is prefixed with the name of the complextype.

    Returns string

    Path to the field to be used in filter and order by queries.