Hello Dimitrina thank you for answering.
I tried the EntityFrameworkDataSourceExample in the new demos for 2014 Q3, I ported it to a small own WPF app and it works fine. But I have still this
problem. Which crash my application (or any other exception from the sql server). Except I catch the exception in OnDispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e) in App.xaml.cs. What is also not a good solution.
So is their any possibility to catch the sql exception on a better place, or is it, in this case, necessary to build a n-tier architecture or something like that?
Thank you for your effort