How to use Compiled Queries in Entity Framework
Posted by Goldytech
on 8/31/2009 3:29:33 AM | Views : 3703 | Status : [Member]
This snippet shows you how to use compiled queries with Entity Framework.
public void CompiledEF()
var compileqry=CompiledQuery.Compile<OMSEntities, IQueryable<Customer>>(
from cust in ctx.Customers
where cust.ContactTitle == "Manager"
Found interesting? Add this to: