Class PersonVariables
Container for tag variables for person information, based on data from a IPersonInfo2.
Inherited Members
Namespace: SuperOffice.CRM.Globalization
Assembly: SoDataBase.dll
Syntax
public abstract class PersonVariables : TagContainer
Remarks
Note to implementers: Please DO NOT make this class dependent on the database in any way - the design is explicitly constructed to allow multiple implementations of the data-carrying Info interface object, including database-free ones.
Constructors
PersonVariables(IPersonInfo2)
Declaration
public PersonVariables(IPersonInfo2 personInfo)
Parameters
Type | Name | Description |
---|---|---|
IPersonInfo2 | personInfo |
PersonVariables(Int32)
Declaration
public PersonVariables(int personId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | personId |
PersonVariables(Int32, Int32)
Declaration
public PersonVariables(int personId, int contactId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | personId | |
Int32 | contactId |
Fields
_contact
Variable holding IContactInfo2, use the SuperOffice.CRM.Globalization.PersonVariables.Person property to access this variable.
Declaration
protected IContactInfo2 _contact
Field Value
Type | Description |
---|---|
IContactInfo2 |
_person
Variable holding IPersonInfo2, use the SuperOffice.CRM.Globalization.PersonVariables.Person property to access this variable.
Declaration
protected IPersonInfo2 _person
Field Value
Type | Description |
---|---|
IPersonInfo2 |
Properties
Contact
Encapsulation of the _contact member variable.
Accessing this property will make sure that the this variable is set.
Declaration
protected IContactInfo2 Contact { get; }
Property Value
Type | Description |
---|---|
IContactInfo2 |
Extension Methods
EnumUtil.MapEnums<From, To>(From)