Show / Hide Table of Contents

Class Entity<TKey>

Inheritance
object
Entity
Entity<TKey>
AuditLogAction
EntityChange
EntityPropertyChange
AppEntityWithNavigationChildOneToMany
AppEntityWithNavigationChildOneToOne
CreationAuditedEntity<TKey>
BasicAggregateRoot<TKey>
EntityHelper_Tests.NewIdEntity
Entity_Tests.Car
Entity_Tests.Person
Entity_Tests.Product
Book
Author
RepositoryRegistration_Tests.MyTestEntityWithInt32Pk
EventHandlerInvoker_Tests.MyEntity
GenericInheritanceTest.Person
FeatureValue
IdentityClaim
PermissionGrant
Setting
AppEntityWithNavigationChildOneToMany
AppEntityWithNavigationChildOneToManyAndOneToMany
AppEntityWithNavigationChildOneToOne
AppEntityWithNavigationChildOneToOneAndOneToOne
Book
Phone
TextTemplateDefinitionContentRecord
PollOption
Answer
Choice
Implements
IEntity<TKey>
IEntity
Inherited Members
Entity.EntityEquals(IEntity)
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
Entity.GetKeys()

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
Entity.ToString()

Implements

IEntity<TKey>
IEntity

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform