Defines methods for plugging custom data constraint/validation logic into the Simol load/save cycle.

Namespace: Simol
Assembly: Simol (in Simol.dll) Version: 1.0.0.0

Syntax

C#
public interface IDomainConstraint
Visual Basic
Public Interface IDomainConstraint
Visual C++
public interface class IDomainConstraint

Remarks

It is acceptable to manipulate attribute values passed to the methods of implementing classes or to throw exceptions to prevent the storing, loading, or deleting of data. Exceptions thrown in these methods will be passed up to the caller of the original SimolClient method.

See Also