Table of Contents

Class EntitySecurity<T>

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

Represents the base class for entity security.

public abstract class EntitySecurity<T> : IEntitySecurity<T> where T : class

Type Parameters

T

The type of the entity.

Inheritance
EntitySecurity<T>
Implements
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 can be deleted based on the primary key.

CanDelete(T, object)

Determines whether the entity can be deleted.

CanInsert()

Determines whether the entity can be inserted.

CanInsert(IPrimaryKey)

Determines whether the entity can be inserted based on the primary key.

CanInsert(T, object)

Determines whether the entity can be inserted.

CanSelect()

Determines whether the entity can be selected.

CanSelect(IPrimaryKey)

Determines whether the entity can be selected based on the primary key.

CanSelect(T, object)

Determines whether the entity can be selected.

CanUpdate()

Determines whether the entity can be updated.

CanUpdate(IPrimaryKey)

Determines whether the entity can be updated based on the primary key.

CanUpdate(T, object)

Determines whether the entity can be updated.