Geeks With Blogs

News This is the *old* blog. The new one is at
Elton Stoneman
This is the *old* blog. The new one is at
EF Entity Framework
Using IDisposable to scope dangerous behaviour
Sometimes you need to switch on behaviour in your code for short period that you want to ensure gets switched back off again afterwards. I had this recently with an app we were performance tuning. We found a hotspot with our EF code where we were adding a batch of entities to a collection. We were adding a few dozen new entities, with some new nested entities of their own, and it was running slowly, compared to the rest of the stack. There are two flags you can switch off in DbContext.Configuration ......

Posted On Friday, November 15, 2013 1:01 PM

WHERE IN()-style Queries in LINQ to Entities

Options for querying Entity Framework with WHERE IN() clauses

Posted On Sunday, July 11, 2010 6:07 PM

Use Expressions with LINQ to Entities

Performance impact using Funcs with LINQ to Entities instead of Expressions

Posted On Thursday, June 3, 2010 9:38 PM

Copyright © Elton Stoneman | Powered by: