Supports custom data constraint/validation as items are loaded, saved,
and deleted by Simol.
Namespace: SimolAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
| C# |
|---|
public class ConstraintAttribute : SimolAttribute |
| Visual Basic |
|---|
Public Class ConstraintAttribute _ Inherits SimolAttribute |
| Visual C++ |
|---|
public ref class ConstraintAttribute : public SimolAttribute |
Remarks
Mark item classes with this attribute to force the use of a custom IDomainConstraint
when items are loaded, saved, and deleted by Simol.