Question about object attributes....

Question about object attributes....

Old forum URL: forums.lhotka.net/forums/t/2699.aspx


CSLABound posted on Saturday, April 14, 2007

This is more of a general object design question, but I wanted to also know if there was anything in particular about the CSLA framework when deciding how to design around this....

If I have an Address table in the db that is foreign keyed to an AddressType table.  Should the corresponding Address object contain the AddressType Primary Key, the AddressType Value, or should it contain both?

I figure I'll be creating an AddressType object that is a NameValueListBase object.

Thanks for your help.

Brian

Copyright (c) Marimer LLC