Table of Contents

Class RestEntityServiceBase<T, TEntityInterface>

Namespace
Innova.Rest.Client
Assembly
Innova.Rest.Client.dll
public class RestEntityServiceBase<T, TEntityInterface> : IEntityService<T> where T : class where TEntityInterface : class

Type Parameters

T
TEntityInterface
Inheritance
RestEntityServiceBase<T, TEntityInterface>
Implements
Derived

Constructors

RestEntityServiceBase(IEntitySecurity<T>, ISelectorFactory, IRestClient)

Properties

EntityName
EntitySecurity
RestClient
SelectorFactory

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.

CheckPermissionsThrowWarningIfNot(Operation, T)
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.