Npgsql Api Docs

NpgsqlException.ErrorSql Property

String containing the sql sent which produced this error.

[Visual Basic]
Public ReadOnly Property ErrorSql As String
[C#]
public string ErrorSql {get;}

See Also

NpgsqlException Class | Npgsql Namespace