CDP4CommonView.NoteDialogViewModel.UpdateTransaction C# (CSharp) Method

UpdateTransaction() protected method

Update the transaction with the Thing represented by this Dialog
protected UpdateTransaction ( ) : void
return void
        protected override void UpdateTransaction()
        {
            base.UpdateTransaction();
            var clone = this.Thing;

            clone.ShortName = this.ShortName;
            clone.Name = this.Name;
            clone.CreatedOn = this.CreatedOn;
            clone.Owner = this.SelectedOwner;
            clone.Category.Clear();
            clone.Category.AddRange(this.Category);

        }