I'm trying to catch SQL Server CE exceptions with EF, however EF seems to swallow all exceptions including UpdateException
, SqlException
etc.
The only exception I could catch is the general Exception
.
Is there a way to catch SqlException
from SQL Server CE including the error numbers?