New Posts New Posts RSS Feed: Multiple Saves
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Multiple Saves

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

Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Topic: Multiple Saves
    Posted: 23-Dec-2010 at 9:59am
An issue that I had in Ria Services that I hope is resolved with DevForce: In Ria, you can't call SubmitChanges will another Submit Changes is already in progress.
 
While this is fine if the user is just clicking on a save button (as you can grey out the button during the save), sometimes I need to call SubmitChanges programatically.  This can result in a second Save operation while the first one is still Saving.  Can this be done with DevForce?
 
My workaround with Ria was to create an Invoke method and manually do the save, but I would like to avoid that with DevForce.
 
Greg
Back to Top
gregweb View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Posted: 23-Dec-2010 at 10:46am
In looking at the docs on SaveChangesAsync(), it shows that you can save a specific set of entities, which is exactly what I was looking for.    That will work for me.
 
Greg
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down