Posted by Gerhard Stephan on April 21st, 2008
The SqlCoreException is the Exception you’ll get most times when working with the ObjectMapper .NET. The SqlCoreException wraps the ADO .NET Exceptions and offers a common interface for catching those exceptions.
Due to this, you don’t have to catch OleDBException, SqlException and OracleException. You only have to catch the SqlCoreExceptions. Thus makes it easy to handle database failures in different scenarios.