News

Take advantage of the Chunk method in LINQ to split large data sets into a sequence of chunks for more efficient processing. Language-Integrated Query, or LINQ for short, brings a query execution ...
As I mentioned Monday and in my Visual Studio 2008 review, I've been struggling with the finer points of LINQ queries. In a talkback comment to my review, "CSharper" pointed me at one solution to ...
I'm comfortable writing SQL and I'm comfortable with method chaining in LINQ, but I am not comfortable writing in the query syntax style of LINQ. I've had R# offer to collapse loops that I wrote ...
You have a method like this that returns a collection of premium Customer objects: Public Function GetPremiumCustomers() As List(of Customer) Dim db As New dbContextObject Return From c In ...
A SqlDataReader instance and LINQ to XML functional construction combine to enable autogenerating the XML payload for the help file's sample CreateEntity() function from table metadata. Much of the ...