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

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


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


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