Sign in
The Wayward WebLog
Oh, what a tangled web
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Tags
Code
Data
Fiction
Gaming
Humor
Language
Life
LINQ
Lunacy
Musings
Object Relational
ObjectSpaces
Pages
PDC
Ramblings
Rant
Rave
Roslyn
SPAM
SQL
XML
Archive
Archives
October 2011
(2)
November 2010
(1)
February 2010
(1)
September 2009
(1)
June 2009
(1)
April 2009
(1)
January 2009
(1)
November 2008
(3)
July 2008
(2)
May 2008
(1)
January 2008
(2)
October 2007
(2)
September 2007
(1)
August 2007
(4)
July 2007
(3)
June 2007
(12)
May 2007
(2)
April 2007
(1)
December 2006
(1)
September 2006
(1)
July 2006
(1)
May 2006
(1)
April 2006
(2)
January 2006
(1)
December 2005
(1)
October 2005
(2)
September 2005
(4)
August 2005
(2)
July 2005
(3)
June 2005
(4)
April 2005
(2)
February 2005
(3)
January 2005
(1)
November 2004
(2)
October 2004
(5)
September 2004
(5)
August 2004
(7)
July 2004
(12)
June 2004
(73)
May 2004
(25)
April 2004
(26)
March 2004
(26)
February 2004
(19)
January 2004
(4)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
The Wayward WebLog
LINQ: Building an IQueryable Provider - Part IV
Posted
over 6 years ago
by
Matt Warren - MSFT
22
Comments
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 cover, that you can make use of in your provider, by showing you how I’m going to implement Select. ...
The Wayward WebLog
LINQ: Building an IQueryable Provider - Part III
Posted
over 6 years ago
by
Matt Warren - MSFT
20
Comments
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 into new shapes. How one goes about doing that is non-obvious. ...
The Wayward WebLog
LINQ: Building an IQueryable Provider - Part II
Posted
over 6 years ago
by
Matt Warren - MSFT
34
Comments
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 execute it. ...
The Wayward WebLog
LINQ: Building an IQueryable Provider - Part I
Posted
over 6 years ago
by
Matt Warren - MSFT
51
Comments
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 here I felt it prudent to go step by step so I can actual dive deep and explain everything that is going on instead of just dumping it all in your lap and letting you find your own way. ...
The Wayward WebLog
LINQ to SQL: Rico drops the other shoe
Posted
over 6 years ago
by
Matt Warren - MSFT
8
Comments
Rico has finally posted some numbers that show you the performance he's seeing with Beta 2 bits. ...
The Wayward WebLog
LINQ to SQL: Go Rico Go!
Posted
over 6 years ago
by
Matt Warren - MSFT
1
Comments
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....
The Wayward WebLog
LINQ to SQL: Under the Microscope
Posted
over 6 years ago
by
Matt Warren - MSFT
6
Comments
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....
The Wayward WebLog
LINQ to SQL: Learning to Crawl
Posted
over 6 years ago
by
Matt Warren - MSFT
6
Comments
Rico Mariani, our performance expert amongst other things, has a blog post detailing worst case peformance shown by LINQ to SQL in last May's CTP. You can see for yourself that performance really sucked. :-) Fortunately, that was the prototype and lots...
The Wayward WebLog
LINQ to SQL: Objects all the way down
Posted
over 6 years ago
by
Matt Warren - MSFT
21
Comments
There are a lot of different opinions on just what LINQ to SQL is or is not. Some of them are actually based on investigation by people who have kicked the tires and taken a test drive. Being its architect, I realize that I am the foremost expert on what’s under the hood, yet that alone does not give me the omniscience to know how the product measures up to everyone’s expectations. What it does give me is the ability to share with you the impetus behind the design and hope that gives you enough insight to make up your own mind....
The Wayward WebLog
The Blue Screen of Mort
Posted
over 6 years ago
by
Matt Warren - MSFT
4
Comments
It happened just the other day when I least expected it. No one would have expected it. Not me, not you, not your cousin, your grand-father or your grand-father’s cousin’s dog; no one. Because there was no warning, not even a hint, not a glint or glimmer...
Page 3 of 28 (273 items)
1
2
3
4
5
»