Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

RestrictColumn Constructor (String, String, OperationTypes, ExceptWhenPredicate)

Initializes a new instance of the RestrictColumn class.

Namespace:  Tortuga.Chain.AuditRules
Assembly:  Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)

Syntax


public RestrictColumn(
	string objectName,
	string columnName,
	OperationTypes appliesWhen,
	ExceptWhenPredicate exceptWhen
)
Public Sub New ( _
	objectName As String, _
	columnName As String, _
	appliesWhen As OperationTypes, _
	exceptWhen As ExceptWhenPredicate _
)
public:
RestrictColumn(
	String^ objectName, 
	String^ columnName, 
	OperationTypes^ appliesWhen, 
	ExceptWhenPredicate^ exceptWhen
)

Parameters

objectName
Type: String
Name of the database object this rule applies to.
columnName
Type: String
Name of the column.
appliesWhen
Type: Tortuga.Chain.AuditRules..::..OperationTypes
While operations are being restricted.
exceptWhen
Type: Tortuga.Chain.AuditRules..::..ExceptWhenPredicate
This function will return true if the rule doesn't apply to this user..