CSharpFeeds - All your C# feeds in one place.

Sponsors

Feed: The Wayward WebLog

Site: http://blogs.msdn.com/b/mattwar/ Link: http://blogs.msdn.com/mattwar/rss.xml

Tuesday, November 18, 2008

Building a LINQ IQueryable Provider - Part XII

by mattwar via The Wayward WebLog on 11/18/2008 4:00:00 AM

This is the twelfth in a series of posts on how to build a LINQ IQueryable provider. If you have not read the previous posts you probably were born yesterday. How could you possibly make sense of this post without any context at all? At least make an attempt. Sometimes I don't know why I bother. ...(read more) ...

[ read more ]

Thursday, January 17, 2008

LINQ: Building an IQueryable Provider - Part IX

by mattwar via The Wayward WebLog on 1/17/2008 6:06:00 AM

This is the nineth in a series of posts on how to build a LINQ IQueryable provider. If you have not read the previous posts here's a handy list of all the fun you've been missing. Complete list of posts in the Building an IQueryable Provider series It's...(read more) ...

[ read more ]

Wednesday, October 10, 2007

LINQ: Building an IQueryable Provider - Part VIII

by mattwar via The Wayward WebLog on 10/10/2007 12:49:00 AM

Implementing OrderBy Today's topic is translating those order-by clauses. Fortunately, there is only one way to do ordering, and that's using the LINQ ordering specific query operators. The bad news is that there are four different operators. ...(read more) ...

[ read more ]

Wednesday, September 05, 2007

LINQ: Building an IQueryable provider - Part VII

by mattwar via The Wayward WebLog on 9/5/2007 3:00:00 AM

This is the seventh in a series of posts on how to build a LINQ IQueryable provider. If you have not read the previous posts you might want to rethink your place in the universe. :-) ...(read more) ...

[ read more ]

Friday, August 10, 2007

LINQ: Building an IQueryable Provider - Part VI

by mattwar via The Wayward WebLog on 8/10/2007 1:59:00 AM

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) ...

[ read more ]

Friday, August 03, 2007

LINQ: Building an IQueryable Provider - Part V

by mattwar via The Wayward WebLog on 8/3/2007 10:54:00 PM

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 operators like OrderBy and Join. I’m talking about huge conceptual gaffs that will bite anyone that strays from my oh-so-ideally crafted demo queries. . ...

[ read more ]

Thursday, August 02, 2007

LINQ: Building an IQueryable Provider - Part IV

by mattwar via The Wayward WebLog on 8/2/2007 8:26:00 PM

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 sample program into a full-fledged working ORM system. Well, I’m probably not going to do that. However, I still think there’s a lot of common ground I can ...

[ read more ]

Wednesday, August 01, 2007

LINQ: Building an IQueryable Provider - Part III

by mattwar via The Wayward WebLog on 8/1/2007 9:11:00 PM

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 going to have to deal with many more operators and complicated interactions between them. For example, that provider did not even let you project the data i ...

[ read more ]

Tuesday, July 31, 2007

LINQ: Building an IQueryable Provider - Part II

by mattwar via The Wayward WebLog on 7/31/2007 4:59:00 PM

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 not actually have to execute it in the traditional sense. For example, LINQ to SQL translates the query expression into SQL and sends it to the server to ...

[ read more ]

Monday, July 30, 2007

LINQ: Building an IQueryable Provider - Part I

by mattwar via The Wayward WebLog on 7/30/2007 8:21:00 PM

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 “I’m working on a sample that will show you everything” letting them know that soon all will be revealed. However, instead of just posting a full sample ...

[ read more ]

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us