How to integrate Prism quickstart with Entity Framework

Topics: Prism v2 - WPF 4, Prism v4 - WPF 4
Jun 24, 2010 at 5:59 PM

I understand how the quickstarts work but it seems like they make no attempt to go beyond the following line that I see in the code:

    public ObservableCollection<BusinessEntities.Employee> RetrieveEmployees()

There's no examples of how to connect or update a backend database in the quickstarts and when I look on the internet I find very little except for the example in the WAF application framework.

Does anyone know of any examples that might get me started on how to link a wpf desktop to a SQL Server Compact database.

Hopefull there will soon be an example in one of the Prism 4.0 drops.


Jul 22, 2010 at 11:46 PM


This is something not supported in Prism out-of-the-box since it is focused on the presentation layer. And this is why there are no Quickstarts related to this.

Additionally, this topic was treated in the following threads:

However, not all the previous forum threads are strictly related to Entity Framework in Prism, but I think they might help with your scenario.

Please let me know if this helps.

Fernando Antivero