Delegate ModelFieldValueListLookupFunc
Invoked by generator to obtain a list of dynamic lookup values for a field. This event is invoked ONLY for fields that DO NOT have valueList specified
Namespace: Azos.Wave.Client
Assembly: Azos.Wave.dll
Syntax
public delegate JSONDataMap ModelFieldValueListLookupFunc(RecordModelGenerator sender, Doc doc, Schema.FieldDef fdef, string target, string isoLang);
Parameters
| Type | Name | Description |
|---|---|---|
| RecordModelGenerator | sender | Generator |
| Doc | doc | Doc that data model is generated for |
| Schema.FieldDef | fdef | Field definition |
| System.String | target | Target name |
| System.String | isoLang | Desired isoLang for localization |
Returns
| Type | Description |
|---|---|
| JSONDataMap | JSONDataMap populated by business logic or null to indicate that no lookup values are available |