Extract the name of the violated constraint from the given SQLException.
Namespace: NHibernate.ExceptionsAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
string ExtractConstraintName( DbException sqle ) |
Visual Basic |
---|
Function ExtractConstraintName ( _ sqle As DbException _ ) As String |
Visual C++ |
---|
String^ ExtractConstraintName( DbException^ sqle ) |
Parameters
- sqle
- Type: System.Data.Common..::..DbException
The exception that was the result of the constraint violation.