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

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

Syntax

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

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