Table of Contents

Method CanUpdate

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

CanUpdate()

Determines whether the entity can be updated.

bool CanUpdate()

Returns

bool

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

CanUpdate(T, object)

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

bool CanUpdate(T entity, object sourceEntity = null)

Parameters

entity T

The entity to be updated.

sourceEntity object

The source entity.

Returns

bool

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

CanUpdate(IPrimaryKey)

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

bool CanUpdate(IPrimaryKey primarykey)

Parameters

primarykey IPrimaryKey

The primary key of the entity.

Returns

bool

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