FireDAC.Phys.MongoDBDataSet.TFDMongoDataSet.BeforeClose
| [–] Properties | |
|---|---|
| Type: event | |
| Visibility: published | |
| Source: FireDAC.Phys.MongoDBDataSet.pas FireDAC.Phys.MongoDBDataSet.hpp | |
| Unit: FireDAC.Phys.MongoDBDataSet | |
| Parent: TFDMongoDataSet | |
Delphi
property BeforeClose;
C++
__property BeforeClose;
Description
Occurs immediately before the dataset closes.
FireDAC.Phys.MongoDBDataSet.TFDMongoDataSet.BeforeClose inherits from Data.DB.TDataSet.BeforeClose. All content below this line refers to Data.DB.TDataSet.BeforeClose.
Occurs immediately before the dataset closes.
Write a BeforeClose event to take specific action before an application closes a dataset. Calling Close or setting the Active property to false results in a call to the BeforeClose event handler.
BeforeClose is an event handler of type Data.DB.TDataSetNotifyEvent.