internal int Update()
 {
     try
     {
         using (OrderDetailsDL _orderdetailsdlDL = new OrderDetailsDL())
         {
             return(_orderdetailsdlDL.Update(this));
         }
     }
     catch (Exception)
     {
         throw;
     }
 }
 internal int InsertAndGetId()
 {
     try
     {
         using (OrderDetailsDL _orderdetailsdlDL = new OrderDetailsDL())
         {
             return(_orderdetailsdlDL.InsertAndGetId(this));
         }
     }
     catch (Exception)
     {
         throw;
     }
 }