Applied reflection: Write 80 percent less access code when interacting with a database
Source: Zach Smith
With databases behind virtually every application, quite a bit of time is spent by application developers writing code to interact with databases. Zach Smith explains how to combine the Microsoft Data Access Block with custom reflection code to write 80 percent less data access code. By using a function in the Data Access Block in combination with a custom reflection class, application developers can automatically populate the parameters of a stored procedure with values from an object. This type of solution enables you to greatly decrease the number of lines of code required for database interaction.
This download is also available as a TechRepublic article.