/// <summary>
        /// Existing <see cref="ProductTypeUpdatedByRootInfo"/> object is updated by <see cref="ProductTypeEdit"/> Saved event.
        /// </summary>
        internal static ProductTypeUpdatedByRootInfo LoadInfo(ProductTypeEdit productTypeEdit)
        {
            var info = new ProductTypeUpdatedByRootInfo();

            info.UpdatePropertiesOnSaved(productTypeEdit);
            return(info);
        }
 /// <summary>
 /// Properties on <see cref="ProductTypeUpdatedByRootInfo"/> object are updated by <see cref="ProductTypeEdit"/> Saved event.
 /// </summary>
 internal void UpdatePropertiesOnSaved(ProductTypeEdit productTypeEdit)
 {
     LoadProperty(ProductTypeIdProperty, productTypeEdit.ProductTypeId);
     LoadProperty(NameProperty, productTypeEdit.Name);
 }