IReadOnlyCRUDEntityTKey Interface

表示包含指定类型 Id 主键的,支持只读通用 CRUD (只能查询数据)的实体。

Definition

Namespace: QuickAdmin.EntityBase
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 1.0.122
C#
public interface IReadOnlyCRUDEntity<TKey> : ICRUDEntity<TKey>, 
	IEntityWithIdKey<TKey>, IEntity
Implements
ICRUDEntityTKey, IEntity, IEntityWithIdKeyTKey

Type Parameters

TKey
Id 主键的数据类型。

Remarks

此接口未添加任何成员,仅为了指示实体支持通用 CRUD。

Properties

Id 获取/设置 Id 主键。
(Inherited from IEntityWithIdKeyTKey)

Methods

TrimStringValues 移除所有字符串属性(类型为 string 的属性)的值的前导和尾随空白字符。
(Inherited from IEntity)

See Also