QuickAdmin.Net Reference
C#
Show/Hide TOC
ICRUDService
TEntity
,
TKey
,
TInput
,
TFilter
Raw
Exists
Async Method
直接检测指定实体是否存在。
Definition
Namespace:
QuickAdmin.Service.CRUD
Assembly:
QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 2.0.13
C#
Copy
Task
<
bool
>
RawExistsAsync
( TKey
id
,
CancellationToken
cancellationToken
=
default
)
Parameters
id
TKey
主键值。
cancellationToken
CancellationToken
(Optional)
用于取消操作的令牌。
Return Value
Task
bool
Remarks
对于软删除实体会加入
DeleterId == null
条件。
See Also
Reference
ICRUDService
TEntity, TKey, TInput, TFilter
Interface
QuickAdmin.Service.CRUD Namespace
In This Article
Definition
Parameters
Return Value
Remarks
See Also