C# Class Tortuga.Chain.AuditRules.RestrictColumn

This rule is used to prevent users from reading or updating a column
Inheritance: AuditRule
显示文件 Open project: docevaad/Chain

Public Methods

Method Description
RestrictColumn ( string columnName, OperationTypes appliesWhen, ExceptWhenPredicate exceptWhen )

Initializes a new instance of the RestrictColumn class.

RestrictColumn ( string objectName, string columnName, OperationTypes appliesWhen, ExceptWhenPredicate exceptWhen )

Initializes a new instance of the RestrictColumn class.

Method Details

RestrictColumn() public method

Initializes a new instance of the RestrictColumn class.
public RestrictColumn ( string columnName, OperationTypes appliesWhen, ExceptWhenPredicate exceptWhen )
columnName string Name of the column.
appliesWhen OperationTypes While operations are being restricted.
exceptWhen ExceptWhenPredicate This function will return true if the rule doesn't apply to this user..

RestrictColumn() public method

Initializes a new instance of the RestrictColumn class.
public RestrictColumn ( string objectName, string columnName, OperationTypes appliesWhen, ExceptWhenPredicate exceptWhen )
objectName string Name of the database object this rule applies to.
columnName string Name of the column.
appliesWhen OperationTypes While operations are being restricted.
exceptWhen ExceptWhenPredicate This function will return true if the rule doesn't apply to this user..