Table of Contents

Interface IEntitySecurity<T>

Namespace
Innova.Data.Security
Assembly
Innova.Data.dll

Represents the security settings for an entity.

public interface IEntitySecurity<T> where T : class

Type Parameters

T

The type of the entity.

Extension Methods

Properties

Delete

Gets or sets a value indicating whether the entity can be deleted.

Insert

Gets or sets a value indicating whether the entity can be inserted.

Select

Gets or sets a value indicating whether the entity can be selected.

Update

Gets or sets a value indicating whether the entity can be updated.

Methods

CanDelete()

Determines whether the entity can be deleted.

CanDelete(IPrimaryKey)

Determines whether the entity with the specified primary key can be deleted.

CanDelete(T, object)

Determines whether the entity can be deleted based on the specified entity and source entity.

CanInsert()

Determines whether the entity can be inserted.

CanInsert(IPrimaryKey)

Determines whether the entity with the specified primary key can be inserted.

CanInsert(T, object)

Determines whether the entity can be inserted based on the specified entity and source entity.

CanSelect()

Determines whether the entity can be selected.

CanSelect(IPrimaryKey)

Determines whether the entity with the specified primary key can be selected.

CanSelect(T, object)

Determines whether the entity can be selected based on the specified entity and source entity.

CanUpdate()

Determines whether the entity can be updated.

CanUpdate(IPrimaryKey)

Determines whether the entity with the specified primary key can be updated.

CanUpdate(T, object)

Determines whether the entity can be updated based on the specified entity and source entity.