public override bool Equals(object obj) { ScmsTableIndex another = obj as ScmsTableIndex; if (another == null) { return false; } else { return (this.TableName == another.TableName); } }