QuickAdmin.Net Reference
C#
Show/Hide TOC
CRUDService
Base
TEntity
,
TKey
,
TInput
,
TFilter
Raw
Get Method
直接获取指定实体。
Definition
Namespace:
QuickAdmin.Service.CRUD
Assembly:
QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 2.0.10
C#
Copy
public
virtual
TEntity
RawGet
( TKey
id
)
Parameters
id
TKey
主键值。
Return Value
TEntity
找到的实体,未找到时返回
null
。
Implements
ICRUDService
TEntity, TKey, TInput, TFilter
RawGet(TKey)
Remarks
方法内:
用
GetISelect(TKey)
取得 ISelect,然后执行查询,获取实体。
若是审计类实体,将设置操作用户姓名相关属性(
CreatorName
/
UpdaterName
)。
若实体类型是
IDeptRelatedEntityWithDeptPath
,将设置其
DeptPath
属性。
See Also
Reference
CRUDServiceBase
TEntity, TKey, TInput, TFilter
Class
QuickAdmin.Service.CRUD Namespace
In This Article
Definition
Parameters
Return Value
Implements
Remarks
See Also