[Missing <summary> documentation for "N:DatabaseObjects.Constraints"]

Classes

  Class Description
Public class Constraint<(Of <(<'T>)>)>
Public class ConstraintBinding<(Of <(<'T>)>)>
Public class DateIsSetConstraint
Public class 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.
Public class EmailAddressConstraint
Ensures that the email address is valid. Credit to: http://regexlib.com/REDetails.aspx?regexp_id=711
Public class 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).
Public class NumberIsBetweenConstraint
Indicates that the number must fall between (exclusive) the numbers specified.
Public class NumberIsInRangeConstraint
Indicates that the number must fall in the range (inclusive) of the numbers specified.
Public class NumberIsMaximumOrLesserConstraint
Public class NumberIsMinimumOrGreaterConstraint
Public class ObjectIsSetConstraint
Public class 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.
Public class StringIsSetConstraint
Public class StringMaxLengthConstraint

Interfaces

  Interface Description
Public interface IConstraint<(Of <(<'T>)>)>
A constraint / piece of business logic / rule that is shared by the user interface and business logic layers.