PreCompiling LINQ Queries with Parameters
In my last post, I looked at precompiling a LINQ query to speed up (at least a little bit) your application. The LINQ statement I used as my example was very simple: Dim res = From o In en.Orders Select o This post looks at a more realistic example: a LINQ statement that has a Where clause. […]
Pre-Compile LINQ to Entities Queries for Faster Processing
When you issue a LINQ statement against an Entity Framework model, LINQ and Entity Framework conspire together to generate an SQL statement that’s sent to the database engine. The problem is that, if you execute that the same LINQ statement twice, that conversion is performed twice. For a statement executed more than once, especially if […]
HTML5, .NET, and Silverlight: Why So Serious?