13.5. Summary

Code generators are great investments in time that will save you countless hours of tedious work. You can follow the pattern defined in this chapter to create any number of templates, not just the ones shown as examples in this chapter. You'll more than likely need to customize the code to meet your company's standards, but this should give you a big head start. Once you start using the generated code, you'll never have to write another class again with 30 properties for all 30 fields in a table.

Now the entire project is complete. Mary is happy and so is her boss. You have successfully restored her faith in IT by building her an enterprise-level application that she can use to manage the entire company's paid time off schedules. You also have a framework for future applications that will more than likely have similar features for security, reporting, querying, workflow, and auditing. You also have a tool that will generate 80 percent of the code for you, but you might want to keep that bit of information to yourself.

I hope that you have enjoyed reading through this book and have benefited from the samples in each chapter. Visual Studio 2008 has some great new features such as LINQ, the ORM Designer, extension methods, automatic parameterized constructors, and many more features. It also offers numerous features that were not covered in this book, including Silverlight, the WCF, the Entity Framework, and much more, but you'll have to wait for the second edition ...

Get ASP.NET 3.5 Enterprise Application Development with Visual Studio® 2008: Problem - Design - Solution 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.