Do you know how I can set the MergeOption on an Entity? I want to set the merge option to OverwriteChanges.
Thanks,
1 Answer, 1 is accepted
0
Ralph Waldenmaier
Telerik team
answered on 27 Mar 2013, 04:15 PM
Hello Patrick,
You can refresh objects from the database and define how to refresh them. You can use 'PreseveChanges' where your changes will be kept but the object is refreshed. Or you can specify 'OverwriteChangesFromStore' which means that the passed object should be updated to match the data source values.
You can find more details here. See the region 'Refreshing Objects'.
I hope this information is helpful for you.
Do come back in case you need further assistance.
All the best,
Ralph
the Telerik team
Free Webinar: OpenAccess Integration in Sitefinity. SIGN UP NOW.