Thread is closed for posting
2 posts, 0 answers
  1. Patrick
    Patrick avatar
    33 posts
    Member since:
    Aug 2011

    Posted 26 Mar 2013 Link to this post


    Do you know how I can set the MergeOption on an Entity? I want to set the merge option to OverwriteChanges.


  2. Ralph Waldenmaier
    Ralph Waldenmaier avatar
    202 posts

    Posted 27 Mar 2013 Link to this post

    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,
    the Telerik team
    Free Webinar: OpenAccess Integration in Sitefinity. SIGN UP NOW.
Back to Top