2 types derived from DbException
System.Data.Odbc (1)
System\Data\Odbc\OdbcException.cs (1)
12
public sealed class OdbcException : System.Data.Common.
DbException
System.Data.OleDb (1)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (1)
257
public sealed partial class OleDbException : System.Data.Common.
DbException
9 references to DbException
HealthChecksSample (1)
DbConnectionHealthCheck.cs (1)
49
catch (
DbException
ex)
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (4)
DatabaseDeveloperPageExceptionFilter.cs (4)
42
/// Handle <see cref="
DbException
"/> errors and output an HTML response with additional details.
47
var
dbException = errorContext.Exception as
DbException
48
?? errorContext.Exception?.InnerException as
DbException
;
netstandard (1)
netstandard.cs (1)
464
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.Common.
DbException
))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
38
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.Common.
DbException
))]
System.Data.Common (2)
System\Data\Common\DbDataAdapter.cs (1)
1373
catch (
DbException
e)
System\Data\Common\DbException.cs (1)
27
/// Indicates whether the error represented by this <see cref="
DbException
" /> could be a transient error, i.e. if retrying the triggering