Show / Hide Table of Contents

Class District

Inheritance
object
Entity
CreationAuditedEntity
District
Implements
IEntity
ICreationAuditedObject
IHasCreationTime
IMayHaveCreator
Inherited Members
CreationAuditedEntity.CreationTime
CreationAuditedEntity.CreatorId
Entity.ToString()
Entity.EntityEquals(IEntity)
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.TestApp.Domain
Assembly: Volo.Abp.TestApp.dll
Syntax
public class District : CreationAuditedEntity, IEntity, ICreationAuditedObject, IHasCreationTime, IMayHaveCreator

Constructors

District(Guid, string, int)

Declaration
public District(Guid cityId, string name, int population = 0)
Parameters
Type Name Description
Guid cityId
string name
int population

Properties

CityId

Declaration
public Guid CityId { get; }
Property Value
Type Description
Guid

Name

Declaration
public string Name { get; }
Property Value
Type Description
string

Population

Declaration
public int Population { get; set; }
Property Value
Type Description
int

Methods

GetKeys()

Declaration
public override object[] GetKeys()
Returns
Type Description
object[]
Overrides
Entity.GetKeys()

Implements

IEntity
ICreationAuditedObject
IHasCreationTime
IMayHaveCreator

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