internal bool IndexEquals(DiffTable dif, Index mix)
{
if (this.ViewName != (mix as UniqueIndex)?.ViewName)
return false;
if (this.ColumnsChanged(dif, mix))
return false;
if (this.IsPrimary != mix is PrimaryClusteredIndex)
return false;
if (this.Type != GetIndexType(mix))
return false;
return true;
}