The Active Record Pattern

When you look at an implementation of TM, you find quite a few objects attempting to represent a view of data, as the presentation layer perceives it. Even though TS and TM are both essentially procedural patterns, TM is based on the vision of data that the presentation layer has rather than on the list of use cases.

We could say that TM abstracts use cases and moves toward the data model behind them. It is an interesting step toward an object-based modeling pattern.

TM is based on objects, but it’s not an object-based pattern for modeling the business logic. Why? Because it doesn’t care much about the business and focuses instead on the tables. TM does have objects, but they are objects representing tables, not objects ...

Get Microsoft® .NET: Architecting Applications for the Enterprise now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.