ComponentOne DataObjects for .NET
ConstraintExpression Property

C1.Data.2 Assembly > C1.Data.SchemaObjects Namespace > Field Class : ConstraintExpression Property
Gets or sets the Boolean expression used to test a constraint.
Syntax
'Declaration
 
Public Property ConstraintExpression As System.String
public System.string ConstraintExpression {get; set;}
Remarks
The Field's ConstraintExpression property corresponds to the Expression 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 ConstraintErrorDescription makes it easier to specify a single constraint for a field, without using the collection editor.
See Also

Reference

Field Class
Field Members