Class Phone
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
[Table("AppPhones")]
public class Phone : Entity<Guid>, IEntity<Guid>, IEntity
Constructors
Phone(Guid, string, PhoneType)
Declaration
public Phone(Guid personId, string number, PhoneType type = PhoneType.Mobile)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Guid | personId | |
| string | number | |
| PhoneType | type |
Properties
Number
Declaration
public virtual string Number { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PersonId
Declaration
public virtual Guid PersonId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
Type
Declaration
public virtual PhoneType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| PhoneType |
Methods
GetKeys()
Declaration
public override object[] GetKeys()
Returns
| Type | Description |
|---|---|
| object[] |
Overrides
Volo.Abp.Domain.Entities.Entity<System.Guid>.GetKeys()