One of our programmers found a solution to this problem. He placed the model inside the Cache. But before saving it to cache he explicitly added the child objects and used the "as" keyword to convert from the parent viewmodel class to the validationviewmodel
class. When doing that, we at least did not lose the child objects. Then the controller was able to pick up the entire model.
rayc
Member
329 Points
127 Posts
Re: Controller not receving entire model
Apr 13, 2012 01:28 PM|LINK
One of our programmers found a solution to this problem. He placed the model inside the Cache. But before saving it to cache he explicitly added the child objects and used the "as" keyword to convert from the parent viewmodel class to the validationviewmodel class. When doing that, we at least did not lose the child objects. Then the controller was able to pick up the entire model.