3. The Data Access Application Block

MOST ENTERPRISE-LEVEL applications store information in some type of relational database. As a result, these applications often need to execute database commands such as Transact-SQL statements or stored procedures. The commands are used to perform database updates, retrieve data values, retrieve multiple rows of data, and even retrieve XML data. The need for this type of functionality is at the core of almost every enterprise-level application.

However, developers often find themselves duplicating code to open and close database connections, assign parameters to database commands, and perform similar database operations throughout the various applications that they build. The Data Access Application Block ...

Get Effective Use of Microsoft Enterprise Library: Building Blocks for Creating Enterprise Applications and Services 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.