EntityWithUUIDKey Class

包含 UUID 类型 Id 主键(主键数据类型为 string,默认值为 32 位 GUID)的实体的基类。

Definition

Namespace: QuickAdmin.EntityBase
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 1.0.122
C#
public abstract class EntityWithUUIDKey : EntityWithIdKey<string>, 
	IEntityWithUUIDKey, IEntityWithIdKey<string>, IEntity
Inheritance
object    EntityWithIdKeystring    EntityWithUUIDKey
Derived
Implements
IEntity, IEntityWithIdKeystring, IEntityWithUUIDKey

Remarks

Id 主键字段的长度被标记为 36,若要更改,请在继承类中重写 Id 属性进行指定。

Constructors

EntityWithUUIDKeyInitializes a new instance of the EntityWithUUIDKey class

Properties

Public Properties

Id 获取/设置 Id 主键。
(Overrides EntityWithIdKeyTKeyId)

Methods

Public Methods

ToString 返回对本实体的描述字符串。
(Inherited from EntityWithIdKeyTKey)

See Also