Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "annotations/object/behavior"

Index

annotations Functions

annotations Functions

Const behavior

  • behavior<T>(behaviorName: BehaviorName, url: string, method?: Method, mapParameters?: undefined | function, mapEntity?: undefined | function): (Anonymous function)
  • 用于定义实体模型的行为

    Type parameters

    • T

    Parameters

    • behaviorName: BehaviorName

      行为名称

    • url: string

      数据源地址

    • Default value method: Method = "GET"

      向数据源地址发起http请求时使用的HTTP谓词

    • Optional mapParameters: undefined | function
    • Optional mapEntity: undefined | function

    Returns (Anonymous function)

Generated using TypeDoc