I'm adding a ViewModels subfolder to an MVC2 solution for the partial classes and metadata classes that proxy my LINQ to SQL classes (which are in the Models folder). Unfortunately, the ViewModels namespace makes the partial classes no longer map to their Models class counterparts...
I'm keeping my 'service' or 'repository' classes that provide unit testable data access methods in the Models folder.
I can imagine taking the contents of the Models folder to a WCF web service in the future ~
I'd rather not have a seperate set of classes for the ViewModels to proxy the Model classes, but maybe I'm just being lazy.
How else would you go about it?
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.