Data.SqlExpr.TCustomSQLDataSet.GetCanModify
Delphi
function GetCanModify: Boolean; override;
C++
virtual bool __fastcall GetCanModify(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.SqlExpr.pas Data.SqlExpr.hpp |
Data.SqlExpr | TCustomSQLDataSet |
Description
Returns whether a dataset permits write access to data.
Data.SqlExpr.TCustomSQLDataSet.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
.