Blog of Adrian Anttila, containing my thoughts, comments and questions. RSS Feed

Extension Methods
30 May 2007, 10:12:00 AM
Extension Methods are another C# 3.0 language feature that I'm really excited about. Basically, you can declare new methods on existing types and Visual Studio will recognize them and provide Intellisense for them. If you've ever using prototyping ...
Read post

DLINQ Tutorial : Part 3 : Querying for Data
29 May 2007, 03:12:00 PM
In my previous two posts, I discussed the schema and showed how to set up the object model for database interactivity. This post will be about using the groundwork that has been laid. The first step is to create a connection string to be used by ...
Read post

DLINQ Tutorial : Part 2 : Creating the Object Model
25 May 2007, 03:21:00 PM
My last post contained the T-SQL script that created the Library database.  This post covers creating an object model that uses DLINQ attributes so that LINQ queries can be used to interact with the database.   For this tutorial, we need 3 classes ...
Read post

DLINQ Tutorial : Part 1 : Creating and Initializing the database
25 May 2007, 03:19:00 PM
Over the next several posts, I'm going to walk through the steps you need to take to manually (i.e., no SqlMetal) interact with a database through DLINQ.  The basic steps are as follows: Create and initialize the database Create an object mode ...
Read post