public override bool Equals(object obj) { GlymaSecurityGroup gsg = obj as GlymaSecurityGroup; if (gsg != null) { if (gsg.GroupId == this.GroupId) { return true; } } return false; }