Datasnap.Provider.TDataSetProvider.Notification
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: protected | |
Source: Datasnap.Provider.pas Datasnap.Provider.hpp
| |
Unit: Datasnap.Provider | |
Parent: TDataSetProvider |
Delphi
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
C++
virtual void __fastcall Notification(System::Classes::TComponent* AComponent, System::Classes::TOperation Operation);
Description
Responds to notifications that objects are being created or destroyed.
Notification overrides the inherited method to add a check that the dataset specified by the DataSet property is not being deleted. If DataSet is about to be destroyed, Notification sets the DataSet property to nil (Delphi) or NULL (C++).