DefaultSqlErrorExtractor.GetErrorNumber method
Tries to get the provider error number from the exception using reflection.
protected virtual int? GetErrorNumber(DbException exception)
| parameter | description |
|---|---|
| exception | The database exception. |
See Also
- class DefaultSqlErrorExtractor