Interface IContactInfo
The system entity for a Contact Info, always a child of a IObjectEntity (by extending object entity IsTypeExtender)
See https://help.lemonedge.com/help/financial-services-engine/entities/companies/contact-info-view.html for more information
Inherited Members
Namespace: LemonEdge.API.Entities.FinancialServices.LegalEntity
Assembly: LemonEdge.API.Entities.FinancialServices.dll
Syntax
[EntityDefinition(EntityID.ContactInfo, "dbo.LT_ContactInfo", "ContactInfo", IsStandingDataEntity = false)]
[DefaultEntityIcon(ImageType.ContactInfo)]
public interface IContactInfo : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
Address
A multiline address for the OwningEntityID
Declaration
[EntityProperty(SQLType.NVarChar, 2500, true)]
string Address { get; set; }
Property Value
Type | Description |
---|---|
string |
ContactPreference
The contact preference of the user.
Declaration
[EntityDescription("The contact preference of the user.")]
[EntityProperty(SQLType.SmallInt, false, "0")]
[HardCodedDefaultValueOnNew("0")]
ContactPreference ContactPreference { get; set; }
Property Value
Type | Description |
---|---|
ContactPreference |
DateOfBirth
The user's date of birth.
Declaration
[EntityDescription("The date of birth.")]
[EntityProperty(SQLType.DateTimeOffset, true)]
DateTimeOffset? DateOfBirth { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
DirectLine
A direct line number for the OwningEntityID
Declaration
[EntityProperty(SQLType.NVarChar, 20, true)]
string DirectLine { get; set; }
Property Value
Type | Description |
---|---|
string |
An email address for the OwningEntityID
Declaration
[EntityProperty(SQLType.NVarChar, 500, true)]
[EmailAddress]
string Email { get; set; }
Property Value
Type | Description |
---|---|
string |
Fax
A fax number for the OwningEntityID
Declaration
[EntityProperty(SQLType.NVarChar, 20, true)]
string Fax { get; set; }
Property Value
Type | Description |
---|---|
string |
FirstName
The user's first name.
Declaration
[EntityDescription("The first name.")]
[EntityProperty(SQLType.NVarChar, 50, true)]
string FirstName { get; set; }
Property Value
Type | Description |
---|---|
string |
LastName
The user's last name.
Declaration
[EntityDescription("The last name.")]
[EntityProperty(SQLType.NVarChar, 50, true)]
string LastName { get; set; }
Property Value
Type | Description |
---|---|
string |
Mobile
A mobile number for the OwningEntityID
Declaration
[EntityProperty(SQLType.NVarChar, 20, true)]
string Mobile { get; set; }
Property Value
Type | Description |
---|---|
string |
Notes
Multiline notes for the OwningEntityID
Declaration
[EntityProperty(SQLType.NVarChar, true)]
string Notes { get; set; }
Property Value
Type | Description |
---|---|
string |
OwningEntityID
[Key] Links to IObjectEntity. The parent object entity this record holds contact information for
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.ObjectEntity, "ID", SingleJoinType.One, "Contact Entity", "Contact Info", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true, IsTypeExtender = true)]
[EntityDescription("The owning entity this has contact information for.")]
[EntityKeyProperty]
Guid OwningEntityID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
A twitter handle for the OwningEntityID
Declaration
[EntityProperty(SQLType.NVarChar, 500, true)]
string Twitter { get; set; }
Property Value
Type | Description |
---|---|
string |
Website
A website url for the OwningEntityID
Declaration
[EntityProperty(SQLType.NVarChar, 500, true)]
string Website { get; set; }
Property Value
Type | Description |
---|---|
string |