QuickAdmin.Net Reference
C#
Show/Hide TOC
CRUDService
Base
TEntity
,
TKey
,
TInput
,
TFilter
Exists Method
检测指定实体是否存在。
Definition
Namespace:
QuickAdmin.Service.CRUD
Assembly:
QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 2.0.10
C#
Copy
public
virtual
IServiceResult
<
bool
>
Exists
( TKey
id
)
Parameters
id
TKey
主键值。
Return Value
IServiceResult
bool
服务调用结果。若成功,其数据即为
true
或
false
。
Implements
ICRUDService
TEntity, TKey, TInput, TFilter
Exists(TKey)
Remarks
方法内调用了
RawExists(TKey)
,并始终返回一个表示调用成功的服务结果。
See Also
Reference
CRUDServiceBase
TEntity, TKey, TInput, TFilter
Class
QuickAdmin.Service.CRUD Namespace
In This Article
Definition
Parameters
Return Value
Implements
Remarks
See Also