The requested page is not available for the requested platform. You are viewing the content for Default platform.

EFObjectSpace.GetSqlException(Exception) Method

Converts the passed Exception to an SqlException that is thrown when SQL Server returns a warning or error.

Namespace: DevExpress.ExpressApp.EF

Assembly: DevExpress.ExpressApp.EF.v19.1.dll

Declaration

public static SqlException GetSqlException(
    Exception exception
)
Public Shared Function GetSqlException(
    exception As Exception
) As SqlException

Parameters

Name Type Description
exception Exception

An Exception error that occurs during application execution.

Returns

Type Description
SqlException

An SqlException that is thrown when SQL Server returns a warning or error.

See Also