Class Entity<TKey>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Domain.Entities
Assembly: Volo.Abp.Ddd.Domain.dll
Syntax
public abstract class Entity<TKey> : Entity, IEntity<TKey>, IEntity
Type Parameters
| Name | Description |
|---|---|
| TKey |
Constructors
Entity()
Declaration
protected Entity()
Entity(TKey)
Declaration
protected Entity(TKey id)
Parameters
| Type | Name | Description |
|---|---|---|
| TKey | id |
Properties
Id
Declaration
public virtual TKey Id { get; protected set; }
Property Value
| Type | Description |
|---|---|
| TKey |
Methods
GetKeys()
Declaration
public override object[] GetKeys()
Returns
| Type | Description |
|---|---|
| object[] |
Overrides
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |