This is Sébastien Lorion's Typepad Profile.
Join Typepad and start following Sébastien Lorion's activity
Join Now!
Already a member? Sign In
Sébastien Lorion
Recent Activity
Hum, I guess I should have previewed my comment ... Func<Northwinds, IQueryable<Orders>, int> q = CompiledQuery.Compile( (nw, orderid) => from o in nw.Orders where o.OrderId == orderid select o);
Toggle Commented Mar 19, 2010 on Compiled or Bust? at Coding Horror
Or if it's a class field declaration: Func, int> q = CompiledQuery.Compile( (nw, orderid) => from o in nw.Orders where o.OrderId == orderid select o);
Toggle Commented Mar 19, 2010 on Compiled or Bust? at Coding Horror
You are putting the compiled query syntax in a bad light.. It would be a better example if you take advantage of type inference: var q = CompiledQuery.Compile( (Northwinds nw, int orderid) => from o in nw.Orders where o.OrderId == orderid select o);
Toggle Commented Mar 19, 2010 on Compiled or Bust? at Coding Horror
Sébastien Lorion is now following The Typepad Team
Mar 19, 2010