Exemplo n.º 1
0
        public bool TotallyEquals(IndexSet other)
        {
            if (Object.ReferenceEquals(other, null))
            {
                return(false);
            }
            if (Object.ReferenceEquals(this, other))
            {
                return(true);
            }

            return(Equals(other) && IndexIsUnique.Equals(other.IndexIsUnique) && IndexType.Equals(other.IndexType) &&
                   Columns.Equals(other.Columns) && IncludedColumns.Equals(other.IncludedColumns) &&
                   HasFilter.Equals(other.HasFilter) && FilterDefinition.Equals(other.FilterDefinition) &&
                   KeyConstraintTypeCode.Equals(other.KeyConstraintTypeCode));
        }