Click or drag to resize
AbstractDatabaseAbstracterExplainException Method
Database errors are not consistent across providers; error codes and error messages are always provider dependent. If you derive from this class, you must implement this method by casting the DbException to the provider specific exception and extracting the error code number and message.

Namespace: Activsoft.Engine.Db
Assembly: Activsoft.Engine (in Activsoft.Engine.dll) Version: 6.0.0.0
Syntax
public abstract bool ExplainException(
	DbException ex,
	out string code,
	out string message
)

Parameters

ex
Type: System.Data.CommonDbException
The exception to be analyzed
code
Type: SystemString
The error code returned by the database provider
message
Type: SystemString
The message returned by the database provider

Return Value

Type: Boolean
true if the exception could be interpreted, else false

Implements

IDatabaseAbstracterExplainException(DbException, String, String)
See Also