Table of Contents

Method CanSelect

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

CanSelect()

Determines whether the entity can be selected.

bool CanSelect()

Returns

bool

true if the entity can be selected; otherwise, false.

CanSelect(T, object)

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

bool CanSelect(T entity, object sourceEntity = null)

Parameters

entity T

The entity to be selected.

sourceEntity object

The source entity.

Returns

bool

true if the entity can be selected; otherwise, false.

CanSelect(IPrimaryKey)

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

bool CanSelect(IPrimaryKey primarykey)

Parameters

primarykey IPrimaryKey

The primary key of the entity.

Returns

bool

true if the entity can be selected; otherwise, false.