Supports custom data constraint/validation as items are loaded, saved, and deleted by Simol.

Namespace: Simol
Assembly: 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.

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    Simol..::..SimolAttribute
      Simol..::..ConstraintAttribute

See Also