[Missing <summary> documentation for "N:DatabaseObjects.Constraints"]
Classes
Class | Description | |
---|---|---|
Constraint<(Of <(<'T>)>)> | ||
ConstraintBinding<(Of <(<'T>)>)> | ||
DateIsSetConstraint | ||
DateIsTodayOrFutureForNewObjectConstraint |
This constraint will ensure that the date is either today or a future
when the associated object is not saved.
If the object is not new, then the date constraint does not apply.
|
|
EmailAddressConstraint |
Ensures that the email address is valid.
Credit to: http://regexlib.com/REDetails.aspx?regexp_id=711
|
|
KeyFieldIsUniqueInCollectionConstraint<(Of <(<'T>)>)> |
Ensures that the key field (KeyFieldName for parent collection class) value is unique within the collection.
The value passed to the ConstraintBinding must by the key field value.
The constraint ensure s that if the object is new then the key field value must be unique within the entire collection (the collection's SubSet applies).
Otherwise, if the new object is already saved and the key field value has changed then it is ensured to be unique within the collection (the collection's SubSet applies).
|
|
NumberIsBetweenConstraint |
Indicates that the number must fall between (exclusive)
the numbers specified.
|
|
NumberIsInRangeConstraint |
Indicates that the number must fall in the range (inclusive)
of the numbers specified.
|
|
NumberIsMaximumOrLesserConstraint | ||
NumberIsMinimumOrGreaterConstraint | ||
ObjectIsSetConstraint | ||
RegExConstraint |
Ensures that the associated binding value is a match for the regular expression.
Utilises the System.Text.RegularExpressions.RegEx.IsMatch() function to determine whether the value matches.
|
|
StringIsSetConstraint | ||
StringMaxLengthConstraint |
Interfaces
Interface | Description | |
---|---|---|
IConstraint<(Of <(<'T>)>)> |
A constraint / piece of business logic / rule that is shared by the user interface and business logic layers.
|