c# - Entity framework - debugging problem with no unhandled exceptions -


I am doing a construction operation on one unit. The unit is a stored procedure function imported No exception is thrown, but I am not getting any new things in the database. I checked my connection string twice, like the Dev environment should point to the I object result & lt; T & gt; was stuck on the breakpoint and was hit back to see it (see) What else can I do to debug / troubleshoot?

  [HTTP post] Create public action ranges (TrackerCreate UserRisalt Model) {string currentUser = Environment.UserDomainName + "\\" + Environment.UserName; TrackerEntities Reference = New TrackerEntities (); Model.User_Created_Date = DateTime.Now; Model.User_Created_Logon_Name = currentUser; Model.User_Updated_Logon_Name = currentUser; Model.User_Updated_Datetime = DateTime.Now; System.Data.Objects.ObjectResult & LT; Tracker_CreateUser_Result & gt; Result = Reference Trakr_kreateusser (Modlkugr_nam, Modlkugr_logon_nam, Modlkugr_tokn, Modlkugr_demo, Modlkugr_demo_logon_nam, Modlkugr_intrfaes, Modlkugr_stets, Modlkugr_rizn_for_adit, Modlkugr_kriatted_logon_nam, Modlkugr_kriatted_det, Modlkugr_apdeted_logon_nam, Modlkugr_apdeted_dattime) ; Context.SaveChanges (); // Update ViewBag.Message = "User created successfully"; See Return (); }    

call you context.SaveChanges () Must add unit

Hope this helps :)

Comments