Table of Contents

Interface IListViewModelService<T, TList>

Namespace
Innova.Prism.Library.Services
Assembly
Innova.Prism.Library.dll

Represents a service for managing list view models.

public interface IListViewModelService<T, TList> : IViewModelService<T> where T : class where TList : class

Type Parameters

T

The type of the main entity.

TList

The type of the list entity.

Properties

EntityService

Gets the entity service for the list view model.

Methods

Count(QueryParameter<T>, CancellationToken)

Counts the number of entities based on the specified query parameter.

GetPropertySelectorExpression(string)

Gets the property selector expression for the specified property name.

GetSortExpression(string)

Gets the sort expression for the specified property name.

Insert(List<TList>, CancellationToken)

Inserts the list of entities.

MakeEntityUpdatable(TList)

Makes the specified list entity updatable.

ToListDistinct<TResult>(string, Expression<Func<T, bool>>, CancellationToken)

Retrieves a distinct list of results based on the specified criteria.

Update(List<TList>, CancellationToken)

Updates the list of entities.