On Dec 9, 2008, at 9:54 AM, Julian102 wrote:

I understand that a class in the model is normally associated with a table
in the database ...

Whoah there. I don't know where you get that idea.

The relationship between a Model class and a Table class (or multiple Table classes) is HAS-A, rather than IS-A.

See my blog for more of my comments on this.

Or don't trust my opinion, but read Martin Fowler's discussion of the Anemic Domain Model antipattern.

Regards,
Bill Karwin

Reply via email to