ComponentOne DataObjects for .NET
ConstraintErrorDescription Property

C1.Data.2 Assembly > C1.Data.SchemaObjects Namespace > Field Class : ConstraintErrorDescription Property
Gets or sets the string used as the error description in the exception thrown when a constraint is not satisfied.
Syntax
'Declaration
 
Public Property ConstraintErrorDescription As System.String
public System.string ConstraintErrorDescription {get; set;}
Remarks
The Field's ConstraintErrorDescription property corresponds to the ErrorDescription property of the first C1.Data.ConstraintInfo object in the Constraints collection. Since in many cases Constraints consists of a single constraint, this field property, together with Field's ConstraintCondition and ConstraintExpression makes it easier to specify a single constraint for a field, without using the collection editor.
See Also

Reference

Field Class
Field Members