コード例 #1
0
 public RecieveMedicine()
 {
     if (this.Lines == null)
     {
         this.Lines = new List <RecieveLineItem>();
     }
     RefRec    = new RecieveLineItem();
     RefBranch = new Branch();
 }
コード例 #2
0
        public override bool Equals(object obj)
        {
            RecieveLineItem rli = obj as RecieveLineItem;

            if (rli == null)
            {
                return(false);
            }

            return(rli.LineItem.LabTestId == this.LineItem.LabTestId);
        }