REST.Response.Adapter.TCustomRESTResponseDataSetAdapter.FieldDefs
Delphi
property FieldDefs: TFieldDefs read GetFieldDefs write SetFieldDefs;
C++
__property Data::Db::TFieldDefs* FieldDefs = {read=GetFieldDefs, write=SetFieldDefs};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | REST.Response.Adapter.pas REST.Response.Adapter.hpp |
REST.Response.Adapter | TCustomRESTResponseDataSetAdapter |
Description
Optional list of field definitions.
Add to this list to explicitly define the names and types of fields to add to the dataset. The Name property of each field definition should correspond to a member of the JSON value.
Adding a field definition is one way to customize the dataset. Another way is to add fields to the dataset. When you add fields to the dataset, the FieldName property of each field should correspond to a member of the JSON value.