This article dates back a couple of months (seven to be exact), but topic covered is well worth it.  There are other tools out there for code generation (such as CodeSmith) that help with the generation of basic objects.  But the nice thing about the method described in the article is that you could use the same XML Schema to pull data from SQL Server and with a little XML Serialization magic you could populate the object in a flash!

Hopefully, I will have some spare time to write a simple article (maybe for CodeProject) that shows you how to do this.