SqlExecutionErrorException.Sql Property

OBSOLETE

Use Message instead.

Gets the SQL statement that raised the exception.

Namespace: DevExpress.Xpo.DB.Exceptions

Assembly: DevExpress.Data.v21.1.dll

Declaration

[Obsolete("Use Message instead.", false)]
[Browsable(false)]
public string Sql { get; }

Property Value

Type Description
String

A string that specifies the SQL statement which raised the exception.

See Also