public RecieveMedicine() { if (this.Lines == null) { this.Lines = new List <RecieveLineItem>(); } RefRec = new RecieveLineItem(); RefBranch = new Branch(); }
public override bool Equals(object obj) { RecieveLineItem rli = obj as RecieveLineItem; if (rli == null) { return(false); } return(rli.LineItem.LabTestId == this.LineItem.LabTestId); }