Class IEntityServiceExtensions
Extension methods for IEntityService.
public static class IEntityServiceExtensions
- Inheritance
-
IEntityServiceExtensions
Methods
- Count<T>(IEntityService<T>, Expression<Func<T, bool>>, CancellationToken)
Counts the number of entities of type T that satisfy the specified condition using the IEntityService.
- Count<T>(IEntityService<T>, CancellationToken)
Counts the total number of entities of type T using the IEntityService.
- Create<T>(IEntityService<T>, CancellationToken)
Creates a new entity of type T using the IEntityService.
- Delete<T, TList>(IListEntityService<T, TList>, TList, CancellationToken)
Deletes a single entity of type TList from the IListEntityService.
- Delete<T, TShow>(IShowEntityService<T, TShow>, TShow, CancellationToken)
Deletes a single entity of type TShow from the IShowEntityService.
- Exists<T>(IEntityService<T>, Expression<Func<T, bool>>, CancellationToken)
Checks if any entity of type T satisfies the specified condition using the IEntityService.
- GetList<T>(IEntityService<T>, Expression<Func<T, bool>>, CancellationToken)
Gets a list of entities of type T that satisfy the specified condition using the IEntityService.
- GetList<T>(IEntityService<T>, CancellationToken)
Gets a list of entities of type T using the IEntityService.
- Insert<T>(IEntityService<T>, T, CancellationToken)
Inserts a single entity of type T into the IEntityService.
- Insert<T, TInsert>(IInsertEntityService<T, TInsert>, TInsert, CancellationToken)
Inserts a single entity of type TInsert into the IInsertEntityService.
- Insert<T, TList>(IListEntityService<T, TList>, TList, CancellationToken)
Inserts a single entity of type TList into the IListEntityService.
- NotExists<T>(IEntityService<T>, Expression<Func<T, bool>>, CancellationToken)
Checks if no entity of type T satisfies the specified condition using the IEntityService.
- Update<T>(IEntityService<T>, T, CancellationToken)
Updates a single entity of type T using the IEntityService.
- Update<T, TEdit>(IEditEntityService<T, TEdit>, TEdit, CancellationToken)
Updates a single entity of type TEdit using the IEditEntityService.
- Update<T, TList>(IListEntityService<T, TList>, TList, CancellationToken)
Updates a single entity of type TList using the IListEntityService.