protected function RemoveColumnData(IColumn $Column) { parent::RemoveColumn($Column); if ($Column->IsPrimaryKey()) { $this->PrimaryKey->RemoveColumnData($Column); } }