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
파일 보기 프로젝트 열기: docevaad/Chain

공개 메소드들

메소드 설명
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