|
|
|
|
|
|
|
|
LINQ to Joe |
|
|
|
|
|
 |
|
| |
|
Author: |
Joe Rattz |
Created: |
9/12/2006 9:04:45 AM |
 |
|
This is where I will post my thoughts, discoveries, and tribulations as I learn Language INtegrated Query (LINQ).
|
|
Pro LINQ: Language Integrated Query in C# 2008 Delayed |
|
|
By Joe Rattz on
1/21/2007 1:41:14 AM
|
|
|
|
I realized today that I haven't really blogged much about LINQ. I actually write more articles for my other site, netsplore.com. It's difficult finding the time to post about LINQ when I spend all my free time writing about it. You would think it would be the opposite. Plus, I can't share my best tips here; I need you to have some reason to buy my book once it is published. ;-) For example, are you aware that you can make a LINQ to SQL query and get back results that do not match the where clause of the query? Sounds crazy I know, but it is true.
Speaking of my book, I guess now would be as good a time as any to announce it is being delayed somewhat. Due to the current state of LINQ in the most recent Orcas betas, there really hasn't been a good release to coordinate the book with. Hopefully the February Orcas beta release will be that release. Once it is out, the plan is for me to review and verify all I have written to ensure it is still accurate, and up to date. It looks like we are now antici ...
|
 |
|
Comments (2)
|
More...
|
|
|
Atlanta Code Camp |
|
|
By Joe Rattz on
1/20/2007 11:35:01 PM
|
|
|
|
I attended a LINQ to SQL session at Atlanta Code Camp today. It was presented by Paul Wilson:
http://weblogs.asp.net/PWilson/
It is very difficult trying to cover LINQ to SQL in 70 minutes, but Paul did an excellent job.
Jim Wooley was also in attendance lending his considerable knowledge.
Thanks Paul.
|
 |
|
Comments (0)
|
|
|
|
My Impression of LINQ to XML |
|
|
By Joe Rattz on
11/3/2006 2:56:00 PM
|
|
|
|
I just wanted to create a quick blog post reporting that I completed the first draft of my chapter on LINQ to XML. I must tell you that I found it totally exciting using LINQ to XML to work with XML. Even if you factor out the capability of performing LINQ queries, the enhancements to working with XML that the API provides are extraordinary in my opinion. I normally find XML a nuissance to work with. Not so with LINQ to XML.
As an example, in my book, I provide an example at the beginning of the chapter that creates a simple XML document using the Microsoft XML DOM that is based on the W3C XML DOM. That example has 25 lines of real code to create the document, and the code obscures the XML structure. Using the LINQ to XML API, I later create that same XML structure with only 10 lines of code, and the XML structure is quite ascertainable from the code. What a savings.
This new productivity enh ...
|
 |
|
Comments (0)
|
More...
|
|
|
LINQ Is Not Just for Database Queries |
|
|
By Joe Rattz on
9/12/2006 8:04:00 PM
|
|
|
|
When I look at the official MSDN LINQ forum, I am surprised to see the categorical breakdown of the posts. Just eyeballing the posts, I would guess that about 40% of the posts are environmental/release oriented. By this, I mean that the post is concerning issues such as install problems, version issues, future release questions, and compatibility problems, etc. The next 40% are database related, and the remaining 20% are miscellaneous.
What I find surprising is that such a large percentage of the posts are database related (LINQ to SQL), as opposed to general LINQ questions concerning queries of in-memory collections (LINQ to Objects), or XML questions (LINQ to XML). I guess the reason I find it so surprising is that to me, LINQ adds so much more to in-memory collection queries and XML queries or generation than it does to database queries. Don't get me wrong, I surely appreciate the ability to perform LINQ queries on a SQL Server database, but I ...
|
 |
|
Comments (6)
|
More...
|
|
|
|
|
|
|
|
|
|
|
|