I don't think I have seen an example of this, but I also haven't read anywhere that explicitly states that it shouldn't be done. For example, let's say I have some user model with the usual stuff like first name last name etc:
public class UserModel
{
private int userID;
public int UserID
{
get { return userID; }
}
public string FirstName { get; set; }
public string LastName { get; set; }
public string MiddleInitial { get; set; }
...
}
If I were to strictly follow the MVVM pattern, would it be allowed to have, for example, a list of some other model
public class UserModel
{
...
public List<SomeOtherModel> SomeList { get; set; }
}
or should models only have simple types?