ExceptionInfoRetrieverGetExceptionInfo Method |
Gets the exception info which is included in the passed in db specific exception. This retrieval has to be done in this class as not all .NET
providers derive their exception classes from DbException.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax public Dictionary<ExceptionInfoElement, Object> GetExceptionInfo(
DbException dbSpecificException
)
Public Function GetExceptionInfo (
dbSpecificException As DbException
) As Dictionary(Of ExceptionInfoElement, Object)
Parameters
- dbSpecificException
- Type: System.Data.CommonDbException
The db specific exception object.
Return Value
Type:
DictionaryExceptionInfoElement,
ObjectA dictionary with per exception info element the value retrieved from the db specific exception
See Also