Table of Contents

Interface IEntityService<T>

Namespace
Innova.Data.Entity
Assembly
Innova.Data.dll

Represents a service for managing entities of type T.

public interface IEntityService<T> where T : class

Type Parameters

T

The type of entity.

Extension Methods

Methods

Can(Operation, T, object)

Determines whether the specified operation can be performed on the entity.

Can<TOther>(Operation, TOther)

Determines whether the specified operation can be performed on the entity of type TOther.

Count(QueryParameter<T>, CancellationToken)

Retrieves the count of entities that match the specified query parameters.

Create(IPropertyValues, CancellationToken)

Creates a new entity with the specified property values.

Delete(List<IPrimaryKey>, CancellationToken)

Deletes the entities with the specified primary keys.

Get(IPrimaryKey, CancellationToken)

Retrieves the entity with the specified primary keys.

GetKeys(QueryParameter<T>, CancellationToken)

Retrieves the primary keys of entities that match the specified query parameters.

GetList(QueryParameter<T>, CancellationToken)

Retrieves a list of entities that match the specified query parameters.

GetListForLookup(CancellationToken)

Retrieves a list of entities for lookup purposes.

Insert(List<T>, CancellationToken)

Inserts the specified entities.

Update(List<T>, CancellationToken)

Updates the specified entities.