O'Reilly logo

Effective Use of Microsoft Enterprise Library: Building Blocks for Creating Enterprise Applications and Services by Len Fenster

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A. The Data Mapping Application Block

THE END OF Chapter 3 began to discuss how it is a generally accepted best practice that database providers are called from data access logic components. The Microsoft patterns & practices team lists several goals to strive toward when designing data access logic components in a distributed application.1 One of the recommended best practices is for the design to expose expected functionality that is common across all data access logic components in a separately defined interface or base class. This is the fundamental principal for the Data Mapping Application Block and more specifically for its abstract DataMapper base class. Martin Fowler defines a Data Mapper as:

...a layer of software that separates the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required