Ejemplo n.º 1
0
 private void DeleteSelf(OrderEdit order, [Inject] DataAccess.IOrderLineItemDal dal)
 {
     using (BypassPropertyChecks)
     {
         FieldManager.UpdateChildren(this);
         dal.Delete(Id);
         Persons = DataPortal.CreateChild <OrderLinePersons>();
     }
 }
Ejemplo n.º 2
0
 private void Update(OrderEdit order, [Inject] DataAccess.IOrderLineItemDal dal)
 {
     using (BypassPropertyChecks)
     {
         using (BypassPropertyChecks)
         {
             dal.Update(Id, order.Id, ShipDate);
         }
         FieldManager.UpdateChildren(this);
     }
 }