Автор: Elliot Levin (elliot@aanet.com.au)
Наследование: extends TableColumnData
Пример #1
0
 /**
  * Discard a row from its primary key within the transaction.
  * 
  * @param PrimaryKey $PrimaryKey The primary key to discard
  * @return void
  */
 public function Discard(PrimaryKey $PrimaryKey)
 {
     $this->DiscardedPrimaryKeys[] = $PrimaryKey;
     $TableName = $PrimaryKey->GetTable()->GetName();
     if (!isset($this->DiscardedPrimaryKeyGroups[$TableName])) {
         $this->DiscardedPrimaryKeyGroups[$TableName] = [];
     }
     $this->DiscardedPrimaryKeyGroups[$TableName][] = $PrimaryKey;
 }