CommonCRUDServiceTEntity, TKey, TInput, TFilterGetFilteredIUpdateAsync Method

获取应用了指定过滤器的 IUpdate 对象。

Definition

Namespace: QuickAdmin.Service.CRUD
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 2.0.13
C#
protected override Task<IServiceResult<IUpdate<TEntity>>> GetFilteredIUpdateAsync(
	TFilter filter,
	CancellationToken cancellationToken
)

Parameters

filter  TFilter
过滤器。
cancellationToken  CancellationToken
用于取消操作的令牌。

Return Value

TaskIServiceResultIUpdateTEntity
服务调用结果。若成功,其数据即为 IUpdate 对象。

Remarks

已重写:若 filter.IsEmpty == true,返回未作任何处理的 IUpdateObj;否则调用基类方法。

Exceptions

ArgumentNullExceptionfilternull

See Also