Interface ISearchableRepository<T>
Interface indicating that this repository provides search functionality for this entity type.
Inherited Members
Namespace: Benday.EfCore.SqlServer
Assembly: Benday.EfCore.SqlServer.dll
Syntax
public interface ISearchableRepository<T> : IRepository<T> where T : IInt32Identity
Type Parameters
| Name | Description |
|---|---|
| T | Entity data type managed by this repository |
Methods
| Edit this page View SourceSearch(Search)
Execute a search for this entity type and return the matching result.
Declaration
SearchResult<T> Search(Search search)
Parameters
| Type | Name | Description |
|---|---|---|
| Search | search | Search definition with arguments, search operation methods, and sorting information |
Returns
| Type | Description |
|---|---|
| SearchResult<T> | The result of the search |