CRUDServiceBaseTEntity, TKey, TInput, TFilterGetISelect(TKey) Method

获取选取了指定记录的 ISelect 对象。

Definition

Namespace: QuickAdmin.Service.CRUD
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 2.0.10
C#
protected virtual ISelect<TEntity> GetISelect(
	TKey id
)

Parameters

id  TKey
主键值。

Return Value

ISelectTEntity
ISelect 对象。

Remarks

供获取指定主键实体时调用(RawGet()/RawGetAsync())。
若是软删除实体将加入 DeleterId == null 条件。
IncludePropertyNamesForISelect 不为空,会调用 ISelect.Include() 设置贪婪加载。

See Also