Bad practice to have models made up of other models?
Posted
by mattruma
on Stack Overflow
See other posts from Stack Overflow
or by mattruma
Published on 2010-05-24T01:39:55Z
Indexed on
2010/05/24
1:40 UTC
Read the original article
Hit count: 272
asp.net-mvc
I have a situation where I have Model A that has a variety of properties. I have discovered that some of the properties are similar across other models. My thought was I could create Model B and Model C and have Model A be a composite with a Model B property and a Model C property.
Just trying to determine if this is the best way to handle this situation.
© Stack Overflow or respective owner