Method CanThrowWarningIfNot
CanThrowWarningIfNot(Operation, T)
Checks if the specified operation can be performed and throws a warning if not.
protected void CanThrowWarningIfNot(Operation operation, T entity = null)
Parameters
operation
OperationThe operation to check.
entity
TThe entity to check.
CanThrowWarningIfNot(Operation, IPrimaryKey)
Checks if the specified operation can be performed and throws a warning if not.
public void CanThrowWarningIfNot(Operation operation, IPrimaryKey keys)
Parameters
operation
OperationThe operation to check.
keys
IPrimaryKeyThe primary keys to check.