Show / Hide Table of Contents

Interface ISearchableRepository<T>

Interface indicating that this repository provides search functionality for this entity type.

Inherited Members
IRepository<T>.GetAll()
IRepository<T>.GetAll(int, bool)
IRepository<T>.GetById(int)
IRepository<T>.Save(T)
IRepository<T>.Delete(T)
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 Source

Search(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

  • Edit this page
  • View Source
In this article
Back to top Copyright © www.benday.com | info@benday.com