///-------------------------------------------------------------------------------- /// <summary>This method determines whether the input instance metadata is /// effectively empty.</summary> /// /// <param name="inputPropertyBase">The propertybase to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsEmptyMetadata(PropertyBase inputPropertyBase) { if (inputPropertyBase == null) { return(true); } if (inputPropertyBase.TagList.Count > 0) { return(false); } if (SolutionID != inputPropertyBase.SolutionID) { return(false); } if (IsNullable != inputPropertyBase.IsNullable) { return(false); } if (Order != DefaultValue.Int) { return(false); } if (IsAutoUpdated != inputPropertyBase.IsAutoUpdated) { return(false); } if (!String.IsNullOrEmpty(inputPropertyBase.Description)) { return(false); } #region protected #endregion protected return(true); }