Print Page | Close Window

debugging a failed SaveChangesAsync

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2398
Printed Date: 08-May-2025 at 12:59am


Topic: debugging a failed SaveChangesAsync
Posted By: BillG
Subject: debugging a failed SaveChangesAsync
Date 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.



Replies:
Posted By: DenisK
Date 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);



Print Page | Close Window