/// <summary>
     /// Update into XMSaleDeliveryProductDetails
     /// </summary>
     /// <param name="xmsaledeliveryproductdetails">XMSaleDeliveryProductDetails</param>
     public void UpdateXMSaleDeliveryProductDetails(XMSaleDeliveryProductDetails xmsaledeliveryproductdetails)
     {
         if (xmsaledeliveryproductdetails == null)
             return;
 
         if (this._context.IsAttached(xmsaledeliveryproductdetails))
             this._context.XMSaleDeliveryProductDetails.Attach(xmsaledeliveryproductdetails);
 
         this._context.SaveChanges();
     }
     /// <summary>
     /// Insert into XMSaleDeliveryProductDetails
     /// </summary>
     /// <param name="xmsaledeliveryproductdetails">XMSaleDeliveryProductDetails</param>
 	public void InsertXMSaleDeliveryProductDetails(XMSaleDeliveryProductDetails xmsaledeliveryproductdetails)
 	{	
         if (xmsaledeliveryproductdetails == null)
             return;
 
         if (!this._context.IsAttached(xmsaledeliveryproductdetails))
 			
             this._context.XMSaleDeliveryProductDetails.AddObject(xmsaledeliveryproductdetails);
 
         this._context.SaveChanges();
 	}