Class IEntitySecurityExtensions
Provides extension methods for IEntitySecurity interface.
public static class IEntitySecurityExtensions
- Inheritance
-
IEntitySecurityExtensions
Methods
- CanThrowWarningIfNot<T>(IEntitySecurity<T>, Operation, IPrimaryKey)
Throws a security warning if the specified entity security does not allow the specified operation on the entity with the specified primary keys.
- CanThrowWarningIfNot<T>(IEntitySecurity<T>, Operation, T)
Throws a security warning if the specified entity security does not allow the specified operation on the given entity.
- Can<T>(IEntitySecurity<T>, Operation)
Checks if the specified entity security allows the specified operation.
- Can<T>(IEntitySecurity<T>, Operation, IPrimaryKey)
Checks if the specified entity security allows the specified operation on the entity with the specified primary keys.
- Can<T>(IEntitySecurity<T>, Operation, T, object)
Checks if the specified entity security allows the specified operation on the given entity.