Quantcast
Channel: patterns & practices: Project Silk
Viewing all articles
Browse latest Browse all 93

New Post: Models in different layers

$
0
0
In Project silk there are Models in MileageStats.Model and also in the Business layer MileageStats.Domain.
Does anyone know why there is a class User in both Projects, the only difference is that User in MileageStats.Domain has attributes on it?

There is also a Reminder class in MileageStats.Model and a ReminderModel in MileageStats.Domain.

What is the Point of having it like this?
I guess I'm asking what's the use of MileageStats.Model Project? If the User model is updated with an additional property you need to add it on two places.

Viewing all articles
Browse latest Browse all 93

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>