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="inputCollection">The collection to compare metadata.</param>
        ///--------------------------------------------------------------------------------
        public bool IsIdenticalMetadata(Collection inputCollection)
        {
            if (CollectionName.GetString() != inputCollection.CollectionName.GetString())
            {
                return(false);
            }
            if (EntityID.GetGuid() != inputCollection.EntityID.GetGuid())
            {
                return(false);
            }
            if (ReferencedEntityID.GetGuid() != inputCollection.ReferencedEntityID.GetGuid())
            {
                return(false);
            }

            #region protected
            #endregion protected

            return(true);
        }