Class RelationsListItem
PersonListItem contains the attributes for the personlistitem used in PersonList.
Inherited Members
Namespace: SuperOffice.CRM.Archives
Assembly: SoDataBase.dll
Syntax
public sealed class RelationsListItem : ListItemBase<RelationsList.RelationsListQuery>
Constructors
RelationsListItem(RelationsListQuery, SoDataReader)
Default constructor
Declaration
public RelationsListItem(RelationsList.RelationsListQuery query, SoDataReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| RelationsList.RelationsListQuery | query | |
| SoDataReader | reader |
Properties
ActiveContactId
Active contact id
Declaration
public int ActiveContactId { get; }
Property Value
| Type | Description |
|---|---|
| int |
ActivePersonId
Active person id
Declaration
public int ActivePersonId { get; }
Property Value
| Type | Description |
|---|---|
| int |
AssociateId
Associate id (owner of relation)
Declaration
public int AssociateId { get; }
Property Value
| Type | Description |
|---|---|
| int |
AssociateName
Associate name
Declaration
public string AssociateName { get; }
Property Value
| Type | Description |
|---|---|
| string |
ContactDepartmentActive
Department name active
Declaration
public string ContactDepartmentActive { get; }
Property Value
| Type | Description |
|---|---|
| string |
ContactDepartmentPassive
Department name passive
Declaration
public string ContactDepartmentPassive { get; }
Property Value
| Type | Description |
|---|---|
| string |
ContactNameActive
Contact name active
Declaration
public string ContactNameActive { get; }
Property Value
| Type | Description |
|---|---|
| string |
ContactNamePassive
Contact name passive
Declaration
public string ContactNamePassive { get; }
Property Value
| Type | Description |
|---|---|
| string |
PassiveContactId
Passive contact id
Declaration
public int PassiveContactId { get; }
Property Value
| Type | Description |
|---|---|
| int |
PassivePersonId
Passive person id
Declaration
public int PassivePersonId { get; }
Property Value
| Type | Description |
|---|---|
| int |
PersonFirstNameActive
Person firstname active
Declaration
public string PersonFirstNameActive { get; }
Property Value
| Type | Description |
|---|---|
| string |
PersonFirstNamePassive
Person firstname passive
Declaration
public string PersonFirstNamePassive { get; }
Property Value
| Type | Description |
|---|---|
| string |
PersonLastNameActive
Person lastname active
Declaration
public string PersonLastNameActive { get; }
Property Value
| Type | Description |
|---|---|
| string |
PersonLastNamePassive
Person lastname passive
Declaration
public string PersonLastNamePassive { get; }
Property Value
| Type | Description |
|---|---|
| string |
RelationComment
Relation comment
Declaration
public string RelationComment { get; }
Property Value
| Type | Description |
|---|---|
| string |
RelationId
RelationId
Declaration
public int RelationId { get; }
Property Value
| Type | Description |
|---|---|
| int |
RelationName
Relation name
Declaration
public string RelationName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Initialize()
Initializes all class-members.
Declaration
protected override void Initialize()
Overrides
Load(RelationsListQuery, SoDataReader)
Responsible for reading the current row in the datareader and insert the value in the right part ob the object.
Declaration
protected override void Load(RelationsList.RelationsListQuery query, SoDataReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| RelationsList.RelationsListQuery | query | |
| SoDataReader | reader | The reader contains the items data. |