Infrastructure for Project Using Prism,RIA,EF

Topics: Prism v4 - Silverlight 4
Mar 13, 2012 at 12:36 PM

I want  to Create a infrastructure for a silverlight project using Prism,RIA,EF

The main structure of my project as follow

 

Silverlight

Infrastructure

Module A

Module B

Shell

Web

ServiceA

ServiseB

DataService

MainWebApp

 

The EF Model Contains in DataService And ServiceA,ServiceB Refrence DataService For Create DomainService Class

ModuleA uses ServiceA as Ria link And ModuleB uses ServiceB as Ria link

ModuleA ,ModuleB And shell refrences Infrastructure 

But the main problem is Infrastructure Project

Infrastructure  needs EF Entity for Create common interface to Modules

but how Infrastructure references EF entity???

Developer
Mar 13, 2012 at 4:45 PM

Hi,

As far as I know there is no official guidance regarding RIA Services or Entity Framework in Prism as it was designed as a guidance for the client-side of the application.

However, I believe you might find the following blog post by David Hill useful to achieve your scenario:

Also, the following threads might be useful as similar concerns were discussed in them:

I hope you find this useful,

Damian Cherubini
http://blogs.southworks.net/dcherubini