Click or drag to resize

AutoNumberConstraintTMaster, TDetailGetViolationOrDefault Method

Validates the specified object. Returns null if the object is valid, ConstraintViolation if the validation has failed

Namespace:  Aloe.SystemFrameworks.Domain.Validation
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public ValidationViolation GetViolationOrDefault(
	TDetail obj,
	ValidationEvent operation
)

Parameters

obj
Type: TDetail
The object to validate
operation
Type: Aloe.SystemFrameworks.Domain.ValidationValidationEvent
The operation for which to validate.

Return Value

Type: ValidationViolation
null if the object is valid, ValidationFail if the validation has failed
See Also