Exemple #1
0
        ///--------------------------------------------------------------------------------
        /// <summary>This method determines whether or not any metadata is
        /// different between the input instance and the current instance.</summary>
        ///
        /// <param name="inputModel">The model to compare metadata.</param>
        ///--------------------------------------------------------------------------------
        public bool IsIdenticalMetadata(Model inputModel)
        {
            if (ModelName.GetString() != inputModel.ModelName.GetString())
            {
                return(false);
            }
            if (SolutionID.GetGuid() != inputModel.SolutionID.GetGuid())
            {
                return(false);
            }
            if (IsAutoUpdated.GetBool() != inputModel.IsAutoUpdated.GetBool())
            {
                return(false);
            }
            if (Description.GetString() != inputModel.Description.GetString())
            {
                return(false);
            }

            #region protected
            #endregion protected

            return(true);
        }