Print Page | Close Window

Want the option to disable Refetch after a Save

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=238
Printed Date: 28-Oct-2025 at 10:52am


Topic: Want the option to disable Refetch after a Save
Posted By: Customer
Subject: Want the option to disable Refetch after a Save
Date 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?




Replies:
Posted By: IdeaBlade
Date Posted: 12-Jul-2007 at 5:28pm

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




Print Page | Close Window