DataModel extensions

Index

Methods

Methods


addDefaultODataOperators

▸ addDefaultODataOperators(this: DataModel): any

Parameters:

Returns any


▸ addEntityLink(this: DataModel,link: EntityLink): any

Parameters:

Returns any


findEntityByEndpoint

▸ findEntityByEndpoint(this: DataModel,endpoint: string): Entity | null

Parameters:

Returns Entity | null


▸ findEntityLink(this: DataModel,entityFrom: Entity,entityTo: Entity): EntityLink | null

Parameters:

Returns EntityLink | null


getEntityLinksByEntity

▸ getEntityLinksByEntity(this: DataModel,entity: Entity): EntityLink[]

Parameters:

Returns EntityLink[]


loadFromEdmx

▸ loadFromEdmx(this: DataModel,edmString: string): any

Parameters:

Returns any


loadFromEmdxType

▸ loadFromEmdxType(this: DataModel,typeName: string,depth: number,edmString: string): any

Parameters:

  • this: DataModel
  • typeName: string
  • depth: number
  • edmString: string

Returns any