Sorry if this has already been asked, but I just want to make sure I'm doing it right.
If I have a domian object that says 10 properties on it. I have a grid in my main form that I want to show almost all the properties of the model.
I created a viewmodel to wrap a domain object that will be displayed in a gridview, but then I have to open all the properties again. I just feel snapped right to the model, as the review model seems dirty and slightly distorts the target.
So, for example, I do not really like this:
{Binding DomainObject.Property}
where DomainObject is a property in my view model.
So, my main question is: should I show all the properties of the model through the view model only for binding to the grid?
EDIT: For additional information only, domian objects are LINQ-To-SQL objects, so I don't think they implement INotifyPropertyChanged, but I'm not sure.
source
share