Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CustomField<EntityT>

Type parameters

  • EntityT: Entity

Hierarchy

  • Field<EntityT>
    • CustomField

Implements

  • EntityIdentifiable<EntityT>

Index

Constructors

constructor

  • new CustomField(fieldName: string, entityConstructor: Constructable<EntityT>): CustomField
  • Parameters

    • fieldName: string
    • entityConstructor: Constructable<EntityT>

    Returns CustomField

Properties

entityConstructor

entityConstructor: Constructable<EntityT>

fieldName

fieldName: string

Methods

edmBinary

  • Returns StringField<EntityT>

edmBoolean

  • Returns BooleanField<EntityT>

edmByte

  • Returns NumberField<EntityT>

edmDateTime

  • Returns DateField<EntityT>

edmDateTimeOffset

  • Returns DateField<EntityT>

edmDecimal

  • Returns BigNumberField<EntityT>

edmDouble

  • Returns NumberField<EntityT>

edmGuid

  • Returns StringField<EntityT>

edmInt16

  • Returns NumberField<EntityT>

edmInt32

  • Returns NumberField<EntityT>

edmInt64

  • Returns BigNumberField<EntityT>

edmSByte

  • Returns NumberField<EntityT>

edmSingle

  • Returns NumberField<EntityT>

edmString

  • Returns StringField<EntityT>

edmTime

  • Returns TimeField<EntityT>

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.

getExpands

  • getExpands(): string[]
  • Returns string[]

getSelects

  • getSelects(): string[]
  • Returns string[]