Partial Classes and Partial Methods

In order to understand how Microsoft intends LINQ to be used in a multi layered architecture, we first need to take a look at partial classes, which have been around since .NET 2.0, and the new partial methods.

(more…)

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Monday, February 4th, 2008

Using The LINQDataSource

There is a new datasource control available in Visual Studio that works in much the same way as the SQLDataSource and the ObjectDataSource.  While I would argue that the LinqDataSource is better than the SqlDataSource, I’m not yet ready to say that it is better than the ObjectDataSource.  And, until I do a bit more experimenting with this new control, I’ll probably still use the ObjectDataSource.

However, there are some of you who are probably using the SqlDataSource who should probably move to the LinqDataSource ASAP.  Here’s the basics of how you use this new control.

(more…)

Monday, January 28th, 2008

How to code LINQ

Today we finally put all the code we’ve been looking at for the last couple of weeks into practice and take a look at LINQ.  Today’s example will be relatively brief but once you understand the underlying parts, which we’ve covered already, there really isn’t much to actually using LINQ. (more…)

Wednesday, December 26th, 2007