REST.Response.Adapter.TCustomRESTResponseDataSetAdapter.UpdateDataSet

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure UpdateDataSet(AJSONValue: TJSONValue = nil);

C++

void __fastcall UpdateDataSet(System::Json::TJSONValue* AJSONValue = (System::Json::TJSONValue*)(0x0));

Properties

Type Visibility Source Unit Parent
procedure
function
public
REST.Response.Adapter.pas
REST.Response.Adapter.hpp
REST.Response.Adapter TCustomRESTResponseDataSetAdapter

Description

Activates and loads the associated dataset.

First, the field definitions are determined. If the FieldDefs list is empty, then the JSON value is scanned for field definitions. Otherwise, the definitions in the FieldDefs list are used. Next, the field definitions are assigned to the dataset so that the dataset can create fields. Finally, the dataset is loaded from the elements in the JSON value.

See Also