EntityWithIdKeyTKey Class

包含指定类型 Id 主键的实体的基类。

Definition

Namespace: QuickAdmin.EntityBase
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 1.0.122
C#
public abstract class EntityWithIdKey<TKey> : IEntityWithIdKey<TKey>, 
	IEntity
Inheritance
object    EntityWithIdKeyTKey
Derived
Implements
IEntity, IEntityWithIdKeyTKey

Type Parameters

TKey
Id 主键的数据类型。

Constructors

EntityWithIdKeyTKeyInitializes a new instance of the EntityWithIdKeyTKey class

Properties

Public Properties

Id 获取/设置 Id 主键。

Methods

Public Methods

ToString 返回对本实体的描述字符串。
(Overrides objectToString)

See Also