Extract the name of the violated constraint from the given SQLException.

Namespace: NHibernate.Exceptions
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public abstract string ExtractConstraintName(
	DbException sqle
)
Visual Basic
Public MustOverride Function ExtractConstraintName ( _
	sqle As DbException _
) As String
Visual C++
public:
virtual String^ ExtractConstraintName(
	DbException^ sqle
) abstract

Parameters

sqle
Type: System.Data.Common..::..DbException
The exception that was the result of the constraint violation.

Return Value

The extracted constraint name.

Implements

IViolatedConstraintNameExtracter..::..ExtractConstraintName(DbException)

See Also