Browse by Tags

All Tags » Code » LINQ
Showing page 1 of 2 (20 total posts)
  • LINQ: Building an IQueryable Provider - Part XI

    This is the eleventh in a series of posts on how to build a LINQ IQueryable provider. If you have not read the previous posts you’ll want to do so before proceeding, or at least before proceeding to copy the code into your own project and telling your boss you single-handedly solved the data layer problem over the weekend....(read more)
    Posted to LINQ in Action roller (Weblog) by Anonymous on July 14, 2008
  • Mocks Nix - An Extensible LINQ to SQL DataContext

    I often get asked how LINQ to SQL is supposed to be used with Test Driven Design (TDD). Okay, not really. People aren’t knocking on my door or calling me at 3:00 am. I do, however, occasionally read developers angst on their personal blogs. It seems they are trying to actually do this, but are often confounded by the DataContext and its dearth ...
    Posted to LINQ in Action roller (Weblog) by Anonymous on May 4, 2008
  • LINQ: Building an IQueryable Provider - Part VI

    So, again you thought I was done with this series, that I've given up and moved on to greener pastures. You think that since Select works wonderfully that that's all you need to know to make your own IQueryable provider? Ha! There's loads more to know. And, by the way, Select is still broken. ...(read more)
    Posted to LINQ in Action roller (Weblog) by Anonymous on August 9, 2007
  • LINQ: Building an IQueryable Provider - Part V

    Over the past four parts of this series I have constructed a working LINQ IQueryable provider that targets ADO and SQL and has so far been able to translate both Queryable.Where and Queryable.Select standard query operators. Yet, as big of an accomplishment that has been there are still a few gaping holes and I’m not talking about other missing ...
    Posted to LINQ in Action roller (Weblog) by Anonymous on August 3, 2007
  • LINQ: Building an IQueryable Provider - Part IV

    I just could not leave well enough alone. I had the crude LINQ provider working with just a translation of the Where method into SQL. I could execute the query and convert the results into my objects. But that’s not good enough for me, and I know it’s not good enough for you. You probably want to see it all; the transformation of a little ...
    Posted to LINQ in Action roller (Weblog) by Anonymous on August 2, 2007
  • LINQ: Building an IQueryable Provider - Part III

    Part III? Wasn’t I done in the last post? Didn’t I have the provider actually working, translating, executing and returning a sequence of objects? Sure, that’s true, but only just so. The provider I built was really fragile. It only understood one major query operator and a few minor ones like comparison, etc. However, real providers are ...
    Posted to LINQ in Action roller (Weblog) by Anonymous on August 1, 2007
  • LINQ: Building an IQueryable Provider - Part II

    Now, that I’ve laid the groundwork defining a reusable version of IQueryable and IQueryProvider, namely Query and QueryProvider, I’m going to build a provider that actually does something. As I said before, what a query provider really does is execute a little bit of ‘code’ defined as an expression tree instead of actual IL. Of course, it does ...
    Posted to LINQ in Action roller (Weblog) by Anonymous on July 31, 2007
  • LINQ: Building an IQueryable Provider - Part I

    I’ve been meaning for a while to start up a series of posts that covers building LINQ providers using IQueryable. People have been asking me advice on doing this for quite some time now, whether through internal Microsoft email or questions on the forums or by cracking the encryption and mailing me directly. Of course, I’ve mostly replied with ...
    Posted to LINQ in Action roller (Weblog) by Anonymous on July 30, 2007
  • LINQ to SQL: Go Rico Go!

    Rico has his third installment on LINQ to SQL performance up on his site and he finally lets us in on what he thinks the problems are/were....(read more)
    Posted to LINQ in Action roller (Weblog) by Anonymous on June 29, 2007
  • LINQ to SQL: Under the Microscope

    Rico continues his series on LINQ to SQL performance. In this post he takes a look at the breakdown of where the time is being spent. It's not looking good for the extra overhead of query translation. Rico ponders a solution....(read more)
    Posted to LINQ in Action roller (Weblog) by Anonymous on June 25, 2007
1 2 Next >