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

This is a rule that overrides argument values with data on the user object.
This is usually used for CreatedBy/LastModifiedBy style columns
Наследование: ColumnRule
Показать файл Открыть проект

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

Метод Описание
UserDataRule ( string columnName, string propertyName, OperationTypes appliesWhen ) : System

Initializes a new instance of the UserDataRule class.

This will have no effect on hard deletes.

Приватные методы

Метод Описание
GenerateValue ( object argumentValue, object userValue, object currentValue ) : object

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

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

Initializes a new instance of the UserDataRule class.
This will have no effect on hard deletes.
appliesWhen;appliesWhen may only be a combination of Insert, Update, or Delete
public UserDataRule ( string columnName, string propertyName, OperationTypes appliesWhen ) : System
columnName string Name of the column.
propertyName string Name of the property.
appliesWhen OperationTypes The rule can be applied to insert, update, and/or soft delete operations.
Результат System