IT:AD:EF:HowTo:Increment Counters
Summary
No two ways about it - EF wasn't designed to do this.
Process
A purely EF way of doing things that will only be done when committed:
Or Using SQL immediately:
it:ad:ef:howto:increment_counters
No two ways about it - EF wasn't designed to do this.
A purely EF way of doing things that will only be done when committed:
Or Using SQL immediately: