I am going through MVVM pattern. I am bit confused in the "Model" part.
Mine is a silverlight data driven project, using WCF, C# and SQL Server.
If we want to implement, where the Model goes?
1. I am having a customer object, so, defined one customer.cs class as a datacontract and data member in WCF
2. Having customer.xaml (This resides in View Folder of silverlight application)
3. Having a viewmodel folder inside silverlight project, and having customerviewmodel.cs file which creating proxy to the server service(WCF) and access the required methods
4. Having another customer.cs class file inside silverlight project to duplicate the WCF customer.cs datacontract file (or which ever property is required for customer view) and implemented INotify property changed.
Now, my doubt is which is Model as per MVVM?
Customer.cs with Inotify in siliverlight project
Customer.cs datacontract in WCF?
As per MVVM, Model talking abt the property file in server or property file in silvelrightproject?
Thankyou so much.