Click or drag to resize

PersistenceInfoProviderBase.CanPerformAction Method

Determines whether the entity with the name specified is allowed to perform the action specified in actionToCheck. Is compared against the specified actioncombination defined with the entity mapping.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public bool CanPerformAction(
	string entityName,
	int actionToCheck
)

Parameters

entityName
Type: System.String
Name of the entity.
actionToCheck
Type: System.Int32
The action to check.

Return Value

Type: Boolean
true if the entity is allowed to perform the action, false otherwise.

Implements

IPersistenceInfoProvider.CanPerformAction(String, Int32)
See Also