Gets or sets the custom constraint to apply when loading or saving data
to the mapped domain.
Namespace: SimolAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
C# |
---|
public IDomainConstraint Constraint { get; set; } |
Visual Basic |
---|
Public Property Constraint As IDomainConstraint Get Set |
Visual C++ |
---|
public: property IDomainConstraint^ Constraint { IDomainConstraint^ get (); void set (IDomainConstraint^ value); } |
Field Value
The custom constraint.Remarks
This property always returns an non-null IDomainConstraint.
If no user constraint was installed, then a no-op constraint is returned.