Skip to content

Andy Burns' Blog

Whatever I'm working on

Categories

  • SharePoint
  • Sitecore
  • Software Development
  • Uncategorized
  • Various

Pages

  • About
  • Articles
  • My Favourite Posts

EditContext

Useful Post on using USING() with EditContext

2017-01-162017-01-13 Andy BurnsEditContextLeave a comment

Kam Figy of Kam’s Idea Log has a helpful post on “EditContext Considered Harmful” which is well worth a read.

The short form – USING() is bad, as it always disposes, which commits some (but not necessarily all) updates.  Item.Editing.BeingEdit() and Item.Editing.EndEdit() are preferred.

Useful Post on using USING() with EditContext
Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Andy Burns' Blog
    • Join 30 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Andy Burns' Blog
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar