Class District
Inherited Members
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 |
|---|---|---|
| System.Guid | cityId | |
| string | name | |
| int | population |
Properties
CityId
Declaration
public Guid CityId { get; }
Property Value
| Type | Description |
|---|---|
| System.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[] |