Пример #1
0
        public void ToolingBreakdownInsert(usp_QL_QuoteTransfer_GetToolingBreakdown_Result u)
        {
            ObjectParameter tranDT = new ObjectParameter("TranDT", typeof(DateTime?));
            ObjectParameter result = new ObjectParameter("Result", typeof(Int32?));

            string quote = (System.Web.HttpContext.Current.Session["Quote"] != null)
                ? quote = System.Web.HttpContext.Current.Session["Quote"].ToString()
                : "";

            using (var context = new MONITOREntitiesQuoteLogIntegrationQuoteTransfer())
            {
                context.usp_QL_QuoteTransfer_ToolingBreakdown_Insert(OperatorCode, quote, u.Description, u.Quantity, u.Value, tranDT, result);
            }
        }