assign method

void assign(
  1. TPersistent? source
)

Implementation

void assign(TPersistent? source) {
  if (source != null) {
    source.assignTo(this);
  } else {
    throw EDatabaseError("Cannot assign a nil source");
  }
}