PEAA_学习笔记_Table Model

A Table Module organizes domain logic with one class per table in the database, and a single instance of a class contains the various procedures that will act on the data.

The primary distinction with Domain Model is that if you have many orders, a Domain Model will have one order object per order, while a Table Module will have one object to handle all the orders.

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.