Interface ISearchDAL<T>
Containers data access interface.
Namespace: Microsoft.GNS.Roster.DataAccess
Assembly: Microsoft.GNS.Roster.DataAccess.dll
Syntax
public interface ISearchDAL<T> where T : IRosterDocument
Type Parameters
| Name | Description |
|---|---|
| T |
Methods
View SourceSearchAsync(Scope, Func<IQueryable<T>, IQueryable<T>>)
Searches all documents for a given scope.
Declaration
IAsyncEnumerable<T> SearchAsync(Scope scope, Func<IQueryable<T>, IQueryable<T>> query)
Parameters
| Type | Name | Description |
|---|---|---|
| Scope | scope | The Roster scope. |
| Func<IQueryable<T>, IQueryable<T>> | query | The base search query. |
Returns
| Type | Description |
|---|---|
| IAsyncEnumerable<T> | An async enumeration of objects as defined by ISearchDAL<T>. |