projects/aoc-client/core/models/aoc-model-manager.ts
Methods |
constructor()
|
fieldMeta | |||||||||
fieldMeta(modelClass, field: string)
|
|||||||||
Type parameters :
|
|||||||||
Parameters :
Returns :
AocModelFieldMeta | undefined
|
meta | ||||
meta(modelClass)
|
||||
Type parameters :
|
||||
Parameters :
Returns :
AocModelMeta
|
populate | ||||||||||||
populate(modelClass, data: S, control?: string)
|
||||||||||||
Type parameters :
|
||||||||||||
convert any data type to AocModel T : AocModel type S : Data type returns T[] if S is Array, T otherwise
Parameters :
|
registerMeta | ||||||
registerMeta(metaMap: AocModelMetaMap)
|
||||||
Parameters :
Returns :
void
|
tableName | ||||
tableName(modelClass)
|
||||
Type parameters :
|
||||
Parameters :
Returns :
any
|