Habanero.BO.ObjectTreeXmlReader.UpdateExistingBo C# (CSharp) Method

UpdateExistingBo() private method

private UpdateExistingBo ( IBusinessObject bo, IBusinessObject existingBo ) : void
bo IBusinessObject
existingBo IBusinessObject
return void
        private void UpdateExistingBo(IBusinessObject bo, IBusinessObject existingBo)
        {
            foreach (var prop in existingBo.Props)
            {
                existingBo.SetPropertyValue(prop.PropertyName, bo.GetPropertyValue(prop.PropertyName));
            }
        }