FireDAC.Comp.DataSet.TFDDataSet.GetCanModify
Delphi
function GetCanModify: Boolean; override;
C++
virtual bool __fastcall GetCanModify();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp |
FireDAC.Comp.DataSet | TFDDataSet |
Description
Returns whether a dataset permits write access to data.
FireDAC.Comp.DataSet.TFDDataSet.GetCanModify inherits from Data.DB.TDataSet.GetCanModify. All content below this line refers to Data.DB.TDataSet.GetCanModify.
Returns whether a dataset permits write access to data.
GetCanModify is the getter method for the CanModify property.
The method always returns True
, so descendant classes must override the GetCanModify method to return True
if the dataset permits write access to data, and False
otherwise.
For unidirectional datasets, GetCanModify always returns False
.