IRowOperationInterceptor.ListRowsAsync method
namespace: Serenity.Data assembly: Serenity.Net.Services
Intercepts the async EntityConnectionExtensions List and Count methods. The default implementation forwards to ListRows.
public Task<OptionalValue<IList>> ListRowsAsync(Type rowType, ICriteria where,
Action<SqlQuery> editQuery, bool countOnly,
CancellationToken cancellationToken = default(CancellationToken))
| parameter | description |
|---|---|
| rowType | Type of the row. |
| where | The where criteria. |
| editQuery | The edit query callback. |
| countOnly | True if intercepting the Count method. |
| cancellationToken | Cancellation token |
See Also
- struct OptionalValue<T>
- interface ICriteria
- class SqlQuery
- interface IRowOperationInterceptor