Table of Contents

Class ContextRuleVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
public class ContextRuleVO
Inheritance
ContextRuleVO

Properties

AcessByEntityRule

checks if the current login has permission to create, change, delete or view a certain record.

public bool AcessByEntityRule { get; set; }

Property Value

bool

MandatoryRule

indicates whether it validates the application rules and addons that check if there are mandatory fields to be filled in when creating or changing the record.

public bool MandatoryRule { get; set; }

Property Value

bool

OnDeleteRule

indicates whether it validates the rules of the application and addons that verify if the record can be deleted.

public bool OnDeleteRule { get; set; }

Property Value

bool

OnSaveRule

indicates whether it validates the rules of the application and addons that verify if the record can be created or changed.

public bool OnSaveRule { get; set; }

Property Value

bool

PHCrecordRule

indicates whether it validates the application rules that verify the record belonging to the PHC can be deleted or which fields can be changed.

public bool PHCrecordRule { get; set; }

Property Value

bool

Methods

Clone()

public ContextRuleVO Clone()

Returns

ContextRuleVO

SwitchOff()

public void SwitchOff()

SwitchOn()

public void SwitchOn()