ViewModels

Aug 27, 2010 at 1:03 AM

In the tutorials it created few models under ViewModels.

Why were not they put under the folder 'Models'?

 

Can I move those from folder 'ViewModels' to 'Models'?

Coordinator
Aug 27, 2010 at 7:39 AM

In the tutorial, we create entity object in the Models folder, and we create ViewModel objects in the ViewModels folder. While you can put these classes whereever you like (model classes can be in any folder you like, in another project, etc.) I recommend putting ViewModels in a separate folder than the entity objects.