public override bool Equals(object obj) { var item = obj as Entry; return item != null ? ID.Equals(item.ID) : false; }