New Posts New Posts RSS Feed: debugging a failed SaveChangesAsync
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

debugging a failed SaveChangesAsync

 Post Reply Post Reply
Author
BillG View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 05-Dec-2007
Location: Monroe, MI
Posts: 233
Post Options Post Options   Quote BillG Quote  Post ReplyReply Direct Link To This Post Topic: debugging a failed SaveChangesAsync
    Posted: 24-Dec-2010 at 11:32am
What is the best way to debug a failed save. When I step through the code of the save, I get no helpful messages that tell me what is the problem.
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 27-Dec-2010 at 10:39am
Hi Bill;

Have you tried looking at the EntitySaveOperation that is being passed to the user callback?

mgr.SaveChangesAsync(op => SaveResult sr = op.Result);
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down