Useful Post on using USING() with EditContext

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

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.