C# Класс Tortuga.Chain.AuditRules.RestrictColumn

This rule is used to prevent users from reading or updating a column
Наследование: AuditRule
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

RestrictColumn() публичный Метод

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() публичный Метод

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..