/// <summary> /// Saves changes of current <see cref="BusinessObject"/> to the operations list. /// </summary> /// <param name="document">Xml document containing operation list to execute.</param> public override void SaveChanges(XDocument document) { if (this.Id == null) { this.GenerateId(); } if (this.Status != BusinessObjectStatus.Unchanged && this.Status != BusinessObjectStatus.Unknown) { BusinessObjectHelper.SaveDictionaryRelationChanges(this, document); } }