IPersistenceInfoProviderCanPerformAction 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)
Syntaxbool CanPerformAction(
	string entityName,
	int actionToCheck
)
Function CanPerformAction ( 
	entityName As String,
	actionToCheck As Integer
) As Boolean
Parameters
- entityName
 - Type: SystemString
Name of the entity. - actionToCheck
 - Type: SystemInt32
The action to check. Is numeric value of PersistenceActionType 
Return Value
Type: 
Booleantrue if the entity is allowed to perform the action, false otherwise.
See Also