///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputSqlViewProperty">The sqlviewproperty to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(SqlViewProperty inputSqlViewProperty) { if (DbID.GetInt() != inputSqlViewProperty.DbID.GetInt()) { return(false); } if (SqlViewID.GetGuid() != inputSqlViewProperty.SqlViewID.GetGuid()) { return(false); } if (ReferencedTable.GetString() != inputSqlViewProperty.ReferencedTable.GetString()) { return(false); } if (ReferencedColumn.GetString() != inputSqlViewProperty.ReferencedColumn.GetString()) { return(false); } if (Urn.GetString() != inputSqlViewProperty.Urn.GetString()) { return(false); } if (State.GetString() != inputSqlViewProperty.State.GetString()) { return(false); } if (Description.GetString() != inputSqlViewProperty.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }