getCanModify method

  1. @override
bool getCanModify()
override

Implementation

@override
bool getCanModify() {
  // the test for assigned(Cursor) is needed for the case that the
  // dataset isn't opened (original comment kept as-is)
  if (cursor != null && cursor!.fStatementType == TStatementType.stSelect) {
    return _updateable && !readOnly && !isUniDirectional;
  }
  return false;
}