Show: Object Pascal C++
Display Preferences

FireDAC.Phys.MongoDBDataSet.TFDMongoDataSet

From Appmethod Libraries
Jump to: navigation, search

FireDAC.Phys.MongoDBDataSet.TFDMongoCustomDataSetFireDAC.Comp.Client.TFDCustomMemTableFireDAC.Comp.Client.TFDAdaptedDataSetFireDAC.Comp.DataSet.TFDDataSetData.DB.TDataSetSystem.Classes.TComponentTFDMongoDataSet

Object Pascal

TFDMongoDataSet = class (TFDMongoCustomDataSet)

C++

class PASCALIMPLEMENTATION TFDMongoDataSet : public TFDMongoCustomDataSet

Properties

Type Visibility Source Unit Parent
class public
FireDAC.Phys.MongoDBDataSet.pas
FireDAC.Phys.MongoDBDataSet.hpp
FireDAC.Phys.MongoDBDataSet FireDAC.Phys.MongoDBDataSet

Description


This class implements an in-memory dataset.

FireDAC.Phys.MongoDBDataSet.TFDMongoDataSet inherits from FireDAC.Comp.Client.TFDCustomMemTable. All content below this line refers to FireDAC.Comp.Client.TFDCustomMemTable.

This class implements an in-memory dataset.

Use TFDCustomMemTable to manage data in the client memory and optionally exchange the data with a DBMS.

In general, TFDCustomMemTable is an in-memory dataset. It can be populated directly by the code at run time without connecting to a database.

Example

  FDMemTable1.FieldDefs.Add('id', ftInteger);
  FDMemTable1.FieldDefs.Add('name', ftString, 20);
  FDMemTable1.Open;
  FDMemTable1.AppendRecord([1, 'MySQL']);
  FDMemTable1.AppendRecord([2, 'SQLite']);

TFDCustomMemTable can be populated from a database using the TFDTableAdapter and TFDCommand components. This can be considered advanced technique, because TFDQuery can be used for most DB data exchange operations.

This class hides some of the properties, allowing the descendant classes to control the properties' visibility. End users should use TFDMemTable.

See Also

Personal tools
Translations