Contents tagged with LINQ
-
LINQ to SQL: What is NOT in RTM (V1)
Dinesh Kulkarni, now ex-program manager on the LINQ to SQL project, gives on his blog a list of what will not be included in the first version of LINQ to SQL. These are important restrictions to know if you haven't followed the story about LINQ to SQL so far and you plan to use it.
Cross-posted from http://linqinaction.net -
Logic behind LINQ to SQL's Attach() set of APIs
Dinesh Kulkarni, program manager on the LINQ to SQL project, presents the logic behind LINQ to SQL's Attach() set of APIs. Attaching and detaching objects to and from a DataContext is something that seems to be a source of confusion, based on the questions in the forums. Attaching is a useful feature especially in multi-tiered system, which often involve stateless ASP.NET applications or web services. Dinesh explains when you need to attach objects and the various options.
-
Querying non-generic collections with LINQ to Objects
We will soon publish excerpts of the LINQ in Action book. One of them will probably show you how to query non-generic collections. Before it becomes available, let me show you an overview of what it presents.
-
LINQ support on .NET 2.0
We have a forum for LINQ in Action, where current and future readers can post questions related to the book or to LINQ in general. Here is one question we received recently:
-
LINQ in Action gets its first review
As Jim wrote, all the chapters of our LINQ book are now available through Manning's Early Access Program (MEAP). The book is now in final review and the paper version is due later this year or in January. This is great to get close to completion on this project!
Go an see the result by yourself (the first chapter is available for free in PDF). -
Sending the LINQ to SQL log to the debugger output window
When debugging LINQ to SQL code, did you wish you could easily see the SQL that gets executed? Of course there is the DataContext.Log property that is available for that. You can assign any TextWriter to this property. Console.Out is a good candidate for example, but it doesn't help much for web applications and doesn't integrate with Visual Studio nicely. Fortunately, Kris Vandermotten has a nice solution: DebuggerWriter. It's an implementation of TextWriter that writes to the debugger log.
-
Visual Studio 2008 and .NET 3.5 still planned for the end of the year
You may have seen a lot of messages about the launch date for Visual Studio 2008, SQL Server 2008 and Windows Server 2008. According to this announcement, Microsoft has planned a grouped launch event in Los Angeles for February 27, 2008.
This does not mean that all the products will be released at that same date. Some may be released after the event, others may be released before. -
Quick LINQ link list
Some quick links about LINQ:
-
LINQ presentation
I gave my first presentation about LINQ, C# 3 and VB 9 yesterday. During one hour and a half, we covered the basics of the new language features, LINQ to Objects, LINQ to XML and LINQ to SQL. Most of the time was spent with several code samples in Visual Studio. All the questions I got show the interest for LINQ and the language evolutions.
If you wish your team to get up-to-speed on these technologies, you can contact me and we'll prepare a presentation for your company. -
LINQ in Action, the book is available as an early access edition
How much do you know about LINQ? With Visual Studio "Orcas" 2008 and .NET 3.5 Beta 1 ready, and Beta 2 around the corner, it's the right time to get started with LINQ!