Browse by Tags
All Tags »
Stuart Leeks (RSS)
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))
Read More...
I read an interesting post on Eric Lippert’s blog recently where he was using LINQ to Objects to find possible words from a set of letters in Scrabble (he wasn’t actually cheating – that just makes for a more interesting title!). Eric made a great follow-up
Read More...
It's been a while since our last 'Meet an ADC' post, but we kick things off again with Stuart Leeks. Hello, who are you? I’m Stuart Leeks and am a geek technologist with a salsa dancing addiction. I’m married and have a 6 month old son who is great but
Read More...
Last time we looked at how to set up the configuration file so that Unity would wire up an object that took an IDbConnection parameter in its constructor. Whilst the solution works, it is easy for the various connection strings to become buried away in
Read More...
I was adding dependency injection to an existing project and opted to use Unity configured via the application configuration file. As I was running through the configuration, I hit a type that required a database connection which it took in as an IDbConnection
Read More...
This is the first post in the 3 part series "Using let in LINQ to Object" by Stuart Leeks. I've been delving into LINQ to Objects recently (and enjoying it), but had missed the 'let' keyword. A colleague Rupert Benbrook( http://phazed.com ) and I had
Read More...
Stuart Leeks recently put together a great post on improving the 'Include' method on ObjectQuery<T> demonstrating how lambda expressions can be used to ensure type safety. Enjoy! One of the great features of LINQ To SQL and LINQ To Entities is that
Read More...