Subscribe to this list via RSS Blog posts tagged in entity framework
How to Think Like the Entity Framework Presentation Available for Free Download My CodeRage presentation, "How to Think Like the Entity Framework (and why you might want to bother learning that in the first place)," is now available for free download....
How to Think Like the ADO.NET Entity Framework at CodeRage 4 This coming Wednesday 9 September I'll be doing a presentation at the free, online CodeRage 4 conference: How to Think Like the ADO.NET Entity Framework (and why you might want to bother learning to do so in the first place) In order to use the ADO.NET Entity Framework effectively, you must understand its value-based data model, which is distinctly different from the SQL and ORM approaches to representing and querying data. Programmers who approach the Entity Framework as "just another ORM" o...

Posted by on in Blogs
In LINQ, Beware of Skip(0) Calling IQueryable<T>.Skip(0) seems like it should be "free." In other words, since it will have no effect on the resulting data, there should be little to no performance cost for calling it. But this is demonstrably not true in LINQ to Entities, and it occurs to me that LINQ providers are not required to optimize it away. Therefore, it is probably a good idea to avoid making such a call at all, so that you do not have to concern yourself with whether the provider will generate a slower qu...
Using jqGrid with ASP.NET MVC: Understanding LINQ Errors If you spend enough time with the PagedList class that I've been using for paging in the method which supplies data to jqGrid, it's a near-certainty that sooner or later you will see a LINQ error with Count in the call stack. The error may seem confusing, because it has nothing to do with Count. Commentor Graeme has been experimenting with my demo solution, and has run into just this issue: Finding your blogs very helpful - superbly written - just found out about jqgrid last night and have inte...

Posted by on in Blogs
Lightweight Frameworks, Again A couple weeks ago, I wrote a post noting that I liked the lightweight nature of the Ruby web framework Merb. Today comes the news that Merb and Rails will be merging in Rails 3. People who see Merb as the "anti-Rails" seem to find this surprising. But people who see Merb as "Rails done right/better" are enthusiastic about it. It's hard to blame the developers for being more interested in pleasing the latter group. When you read through the list of "What Does That Mean, Exactly?" at this link, I...
The ADO.NET Entity Framework vs. NHibernate and Other ORMs In the past couple of weeks, I've had occasion to look fairly closely at the ADO.NET Entity Framework, and compare it to NHibernate.  Of course, before I even started, I went out and read what other people had to say on the subject.  Many people point to this post by Danny Simmons as approximating the "official" Microsoft position on the subject, and commenters around the web seem to focus specifically on what Danny calls "a [not yet delivered, but] much larger vision of an entity-aware data pl...

Check out more tips and tricks in this development video: