CRUDServiceBaseTEntity, TKey, TInput, TFilterGetISelectAsync Method

获取应用了分页输入参数内的过滤器、排序等等以及其它选项的 ISelect 对象。

Definition

Namespace: QuickAdmin.Service.CRUD
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 2.0.10
C#
protected virtual Task<ISelect<TEntity>> GetISelectAsync(
	PagingInput<TFilter> pagingInput,
	CancellationToken cancellationToken
)

Parameters

pagingInput  PagingInputTFilter
分页输入参数。若传入 null,会构造一个默认的 PagingInputTFilter
cancellationToken  CancellationToken
用于取消操作的令牌。

Return Value

TaskISelectTEntity
ISelect 对象。

Remarks

GetPagingOutputAsync()/GetDtoPagingOutputAsync 调用来获取已按照 pagingInput 进行了过滤条件以及排序等设置的 ISelect 对象。
方法内依次执行: 此方法返回的 ISelect 并没有进行分页设置(ISelect.Page()),重写时也不可进行分页设置。

See Also