public void Delete(DeliveryReceiptDetail DeliveryReceiptDetail)
 {
     using (DbManager db = new DbManager())
     {
         Accessor.Query.Delete(db, DeliveryReceiptDetail);
     }
 }
 public void Save(DeliveryReceiptDetail DeliveryReceiptDetail)
 {
     using (DbManager db = new DbManager())
     {
         if (DeliveryReceiptDetail.RecordNo != 0)
         {
             Accessor.Query.Update(db, DeliveryReceiptDetail);
         }
         else
         {
             Accessor.Query.Insert(db, DeliveryReceiptDetail);
         }
     }
 }