New Posts New Posts RSS Feed: Want the option to disable Refetch after a Save
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Want the option to disable Refetch after a Save

 Post Reply Post Reply
Author
Customer View Drop Down
Senior Member
Senior Member
Avatar
User Submitted Questions to Support

Joined: 30-May-2007
Location: United States
Posts: 260
Post Options Post Options   Quote Customer Quote  Post ReplyReply Direct Link To This Post Topic: Want the option to disable Refetch after a Save
    Posted: 12-Jul-2007 at 5:24pm
In regards to the project that I was working on where I used the importentities method to send updates to my legacy database, it appears that devForce does a select * before the update, does the update command and then another select * command.

Is this necessary and can this be eliminated and have it just do the update,delete and insert commands?

Back to Top
IdeaBlade View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 30-May-2007
Location: United States
Posts: 353
Post Options Post Options   Quote IdeaBlade Quote  Post ReplyReply Direct Link To This Post Posted: 12-Jul-2007 at 5:28pm

Use the ExcludeFromPostSaveRefetch property of the SaveOptions class.  See Reference Help.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down