///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputPropertyInstance">The propertyinstance to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(PropertyInstance inputPropertyInstance) { if (ModelPropertyID.GetGuid() != inputPropertyInstance.ModelPropertyID.GetGuid()) { return(false); } if (ObjectInstanceID.GetGuid() != inputPropertyInstance.ObjectInstanceID.GetGuid()) { return(false); } if (Order.GetInt() != inputPropertyInstance.Order.GetInt()) { return(false); } if (PropertyValue.GetString() != inputPropertyInstance.PropertyValue.GetString()) { return(false); } if (IsAutoUpdated.GetBool() != inputPropertyInstance.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputPropertyInstance.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }