The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

RuleBase Class

Serves as the base class for Validation Rules.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v19.2.dll

Declaration

public abstract class RuleBase :
    IRule,
    ISupportCheckRuleIntegrity,
    IObjectSpaceLink
Public MustInherit Class RuleBase
    Implements IRule,
               ISupportCheckRuleIntegrity,
               IObjectSpaceLink
public abstract class RuleBase :
    IRule,
    ISupportCheckRuleIntegrity,
    IObjectSpaceLink
Public MustInherit Class RuleBase
    Implements IRule,
               ISupportCheckRuleIntegrity,
               IObjectSpaceLink
public abstract class RuleBase :
    IRule,
    ISupportCheckRuleIntegrity,
    IObjectSpaceLink
Public MustInherit Class RuleBase
    Implements IRule,
               ISupportCheckRuleIntegrity,
               IObjectSpaceLink

Remarks

The RuleBase class is the basic abstract class implementing the IRule interface. All the built-in Validation Rules inherit from RuleBase.

You can implement a custom Validation Rule by inheriting from the RuleBase class. To see an example, refer to the Implement Custom Rules topic.

Inheritance

Object
RuleBase

Implements

See Also