Click or drag to resize

BuildInValidationBypass Enumeration

Enum which defines the strategy for the build-in validation logic for new values for entity fields. Build-in validation logic checks if the value to set matches the characteristics of the database field the entity field is mapped on, so when the entity is persisted there won't be any overflow exception.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
public enum BuildInValidationBypass
Members
  Member nameValueDescription
NoBypass0 Default. Don't bypass the build-in validation logic and only call the validator if the build-in validation checks succeed.
AlwaysBypass1 Always bypass the build-in validation logic, even if there's no validator set for the entity.
BypassWhenValidatorPresent2 Only bypass the build-in validation logic if the entity has a validator object set. Otherwise execute the build-in validation logic
See Also