public void MergeByBIDWith(BookEvaluaionList another) { var sub = another.Data.Except <BookEvaluaion>(Data, new BookEvaluaionCompareByBID()); foreach (var item in sub) { Add(item); } }
public void MergeByBUIDWith(BookEvaluaionList another) { var sub = this.Data.Except <BookEvaluaion>(another.Data, new BookEvaluaionCompareByBUID()); this.Data = new List <BookEvaluaion>(); foreach (var item in another.Data) { this.Add(item); } foreach (var item in sub) { this.Add(item); } }