Returns the name of the violated constraint, if known.

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

Syntax

C#
public string ConstraintName { get; }
Visual Basic
Public ReadOnly Property ConstraintName As String
	Get
Visual C++
public:
property String^ ConstraintName {
	String^ get ();
}

Return Value

The name of the violated constraint, or null if not known.

See Also