Contact

Namespace: Babel.Data Assembly: Babel.Data.dll

Represents a contact associated with a customer.

public class Contact : EntityTracker, INotifyPropertyChanged

Inheritance

objectEntityTrackerContact

Implements

INotifyPropertyChanged

Inherited Members

EntityTracker.SetWithNotify<T>(T, ref T, string), EntityTracker.IsDirty, EntityTracker.PropertyChanged, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

Contact()

public Contact()

Properties

Customer

Gets or sets the customer associated with the contact.

[ForeignKey("CustomerId")]
public virtual Customer Customer { get; set; }

Property Value

Customer

CustomerId

Gets or sets the ID of the customer associated with the contact.

public int CustomerId { get; set; }

Property Value

int

Details

Gets or sets additional details about the contact.

public string Details { get; set; }

Property Value

string

Email

Gets or sets the email address of the contact.

[EmailAddress]
public string Email { get; set; }

Property Value

string

Fax

Gets or sets the fax number of the contact.

public string Fax { get; set; }

Property Value

string

FirstName

Gets or sets the first name of the contact.

public string FirstName { get; set; }

Property Value

string

Id

Gets or sets the ID of the contact.

public int Id { get; set; }

Property Value

int

LastName

Gets or sets the last name of the contact.

public string LastName { get; set; }

Property Value

string

Mobile

Gets or sets the mobile phone number of the contact.

public string Mobile { get; set; }

Property Value

string

Phone

Gets or sets the phone number of the contact.

public string Phone { get; set; }

Property Value

string

Title

Gets or sets the title of the contact.

public string Title { get; set; }

Property Value

string

Last updated