Stuart Leeks - Application Development Consultant
Translate This Page
Translate this page
ADO.Net Data Services
Browse by Tags
Tagged Content List
Entity Framework 5: Controlling automatic query compilation
When working with LINQ to Entities, Entity Framework has to parse the expression tree from the LINQ query and convert it to SQL. It is possible to save the output of this using CompiledQuery , but this is something that you have to manually code. One of the new features coming in Entity Framework 5 ...
12 Jun 2012
ASP.NET MVC & jQuery UI autocomplete
23 Apr 2012
ASP.NET MVC 3: Integrating with the jQuery UI date picker and adding a jQuery validate date range validator
UPDATE: I've blogged about an more flexible way to wire up the editor template here . This is post looks at working with dates in ASP.NET MVC 3. We will see how to integrate the jQuery UI date picker control automatically for model properties that are dates and then see an example of a custom validator...
25 Jan 2011
ASP.NET MVC - Creating a DropDownList helper for enums
Do the types you work with in your ASP.NET MVC models ever have enums? Mine do from time to time and I’ve found myself needing to render a dropdown list to allow the user to select the enum value. For the purposes of this post, I will be working with a Person class and a Color enum (I’ll direct you to...
21 May 2010
Improving ObjectQuery<T>.Include – Updated
Having spent some time using the sample from my previous post on ObjectQuery.Include, I’ve encountered a bug! It turns out that the code generates the wrong include string for context.Customers.Include(c => c.Order.SubInclude(o=>o.OrderDetail)) The fix for this is a small change to the BuildString...
24 Apr 2009
ADO.Net Data Services allows you to expose your LINQ To Entities model (or LINQ To SQL model, or even your custom IQueryable model) via a REST ful API with minimal coding. For example, if you’re working with the Northwind database you can use the URL http://server/Service.svc/Customers(‘ALFKI’...
15 Sep 2008
** UPDATE: There’s a bug in the code below – see this post for the update! One of the great features of LINQ To SQL and LINQ To Entities is that the queries you write are checked by the compiler, which eliminates typing errors in your query. Unfortunately, the ObjectQuery<T>.Include function...
27 Aug 2008
Page 1 of 1 (7 items)
© 2013 Microsoft Corporation.
Privacy & Cookies