Class ContactRelationEntity
Namespace: SuperOffice.WebApi.Data
Assembly: SuperOffice.WebApi.dll
Carrier object for ContactRelationEntity.
Relationship between a (contact/person) and another (contact/person), as described by the RelationDefinition.
Inheritance
object ←
Carrier ←
ContactRelationEntity
Inherited Members
Carrier.TableRight,
Carrier.FieldProperties,
object.ToString(),
object.Equals(object),
object.Equals(object, object),
object.ReferenceEquals(object, object),
object.GetHashCode(),
object.GetType(),
object.MemberwiseClone()
Examples
Get ContactRelationEntity 123 using the WebApi client:
var configuration = new WebApiConfiguration(url);
var agent = new RelationAgent(configuration);
var contactRelationEntity = agent.GetContactRelationEntity( 123 );
Use :
All ContactRelationEntity: “Relation”
Constructors
Default constructor - defaults any enum props to 0.
Properties
ActiveText
Active text for the relation.
Property Value
string
Comment for relation
Property Value
string
CreatedBy
Property Value
Associate
CreatedDate
Registered when
Property Value
DateTime
Id of the destination contact. The value is mandatory.
Property Value
int
Name of the destination contact.
Property Value
string
DestinationPersonId
Id of the destination person. The value is not mandatory. The person must belong to the destination contact.
Property Value
int
DestinationPersonName
Name of the destination person.
Property Value
string
PassiveText
Passive text for the relation.
Property Value
string
RelationDefinitionId
Reference to definition
Property Value
int
RelationId
Primary key
Property Value
int
Reversed
Is direction reversed relative to definition
Property Value
short
Id of the source contact. The value is mandatory.
Property Value
int
Name of the source contact.
Property Value
string
SourcePersonId
Id of the source person. The value is not mandatory. The person must belong to the source contact.
Property Value
int
SourcePersonName
Name of the source person.
Property Value
string
UpdatedBy
Property Value
Associate
UpdatedDate
Last updated when
Property Value
DateTime
See Also
RelationAgent,
ArchiveAgent,