FireDAC.Phys.MongoDBDataSet.TFDMongoDataSet.DetailFields

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DetailFields: string read FDetailFields write FDetailFields default 0;

C++

__property DetailFields = {default=0};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Phys.MongoDBDataSet.pas
FireDAC.Phys.MongoDBDataSet.hpp
FireDAC.Phys.MongoDBDataSet TFDMongoDataSet

Description

Gets or sets the fields in the detail dataset that are used to establish a master-detail relationship with this dataset.

FireDAC.Phys.MongoDBDataSet.TFDMongoDataSet.DetailFields inherits from FireDAC.Comp.DataSet.TFDDataSet.DetailFields. All content below this line refers to FireDAC.Comp.DataSet.TFDDataSet.DetailFields.

Gets or sets the fields in the detail dataset that are used to establish a master-detail relationship with this dataset.

Use the DetailFields property value to specify a semicolon-separated list of the detail dataset field names used to establish a master-detail relationship with this dataset. 

The DetailFields property is useful only for parameter-based master-detail setup. For range-based setup, the indexed fields are used as the detail field list. When DetailFields is not specified explicitly, the field names matching a query in the parameter names will be used as DetailFields value. 

DetailFields are used only to assign specified field values when a new record is inserted into a detail dataset. The mechanism used to filter the detail dataset records does not use DetailFields.

See Also