Chapter 1. Introducing Code Generation

You’re already using code generation. A lot. You just don’t know it.

If you’ve ever dragged a control onto a form then you’ve been letting Visual Studio and .NET generate code for you. If you’ve ever added a DataSet to an application (or, for the more up to date, added an ADO.NET Entity Data Model to an application) then you’ve been using code generation. For both DataSets and Entity Data Models, Visual Studio has used the tools ...

Get Practical Code Generation in .NET: Covering Visual Studio 2005, 2008, and 2010 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.