Feb 4, 2011 at 11:21 AM
Edited Feb 4, 2011 at 1:30 PM
So far I am going well in my application using PRISM4, thanks to many psots I have read.
Now it's time to get the data from my two RIA service class library that hosts the .edmx.
How should I handle the data from RIA service, I mean I want to :
1- create a service class that hold the data for my viewmodel.
2- Define an
property of Products and pass it back to my VM.
The problem here is that the result comes from my domaincontext can be assigned to IEnumerable not observablecollection.
what is the best approach ....
The RIA service two projects are created, the client-prj & web-prj, then I reference the web-prj from my web application and reference the client-prj from my silverlight applications.