Class ProjectInfoProvider
Implementation of IProjectInfo; create through factory (see remarks)
Inherited Members
Namespace: SuperOffice.CRM.Entities.Providers
Assembly: SoDataBase.dll
Syntax
public class ProjectInfoProvider : IProjectInfo3, IProjectInfo2, IProjectInfo
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.Properties
CustomFields
UDef fields and extra field values encoded as strings: "x_foo" = "[I:123]", "SuperOffice:1" = "[F:34.56]"
Declaration
public Dictionary<string, string> CustomFields { get; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.Description
Description of the project
Declaration
public string Description { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.EventDate
Project, event date
Declaration
public string EventDate { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.HasGuide
Implementation of IProjectInfo; create through factory (see remarks)
Declaration
public bool HasGuide { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.InfoText
Implementation of IProjectInfo; create through factory (see remarks)
Declaration
public string InfoText { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.Manager
Project manager
Declaration
public string Manager { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.Name
Name of the project
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.NextMileStoneAppointmentId
Implementation of IProjectInfo; create through factory (see remarks)
Declaration
public int NextMileStoneAppointmentId { get; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.NextMilestoneDate
Implementation of IProjectInfo; create through factory (see remarks)
Declaration
public DateTime NextMilestoneDate { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.Number
Project number
Declaration
public string Number { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.Project
Implementation of IProjectInfo; create through factory (see remarks)
Declaration
public Project Project { get; }
Property Value
| Type | Description |
|---|---|
| Project |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.ProjectEndDate
Implementation of IProjectInfo; create through factory (see remarks)
Declaration
public DateTime ProjectEndDate { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.ProjectId
Primary key for the project
Declaration
public int ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.PublishEndDate
Project, end date for publishing
Declaration
public string PublishEndDate { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.PublishStartDate
Project, start date for publishing.
Declaration
public string PublishStartDate { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.Status
Project status
Declaration
public string Status { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.Type
Project type
Declaration
public string Type { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.Web
The project's primary web address
Declaration
public string Web { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.WebId
The project's primary web address, ID (hidden, unique ID).
Declaration
public int WebId { get; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.Methods
GetUserDefinedDecimal(int)
Return a user defined value of type decimal
Declaration
public string GetUserDefinedDecimal(int fieldNo)
Parameters
| Type | Name | Description |
|---|---|---|
| int | fieldNo | Index of field to retrieve value for |
Returns
| Type | Description |
|---|---|
| string | String representation of the value of specified field |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.GetUserDefinedDecimal(string)
Get the decimal udef value based on the prog.id name of the udef field.
Declaration
public double GetUserDefinedDecimal(string progId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | progId | Program name of udef field |
Returns
| Type | Description |
|---|---|
| double | double value of field, or NAN if field not found |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.GetUserDefinedInt(int)
Return a user defined value of type int
Declaration
public string GetUserDefinedInt(int fieldNo)
Parameters
| Type | Name | Description |
|---|---|---|
| int | fieldNo | Index of field to retrieve value for |
Returns
| Type | Description |
|---|---|
| string | String representation of the value of specified field |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.GetUserDefinedInt(string)
Get the int udef value based on the prog.id name of the udef field.
Declaration
public int GetUserDefinedInt(string progId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | progId | Program name of udef field |
Returns
| Type | Description |
|---|---|
| int | int value of field, or MINVALUE if field not found |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.GetUserDefinedString(int)
Return a user defined value of type string
Declaration
public string GetUserDefinedString(int fieldNo)
Parameters
| Type | Name | Description |
|---|---|---|
| int | fieldNo | Index of field to retrieve value for |
Returns
| Type | Description |
|---|---|
| string | Value of specified field |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.GetUserDefinedString(string)
Get the string udef value based on the prog.id name of the udef field.
Declaration
public string GetUserDefinedString(string progId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | progId | Program name of udef field |
Returns
| Type | Description |
|---|---|
| string | string value of field, or NULL if field not found |
Remarks
To create an instance of PersonInfoProvider, use
var info = ClassFactory.Create<IProjectInfo>(pers);
where pers is a Person, to use an already-loaded entity object (that may also contain unsaved data); or where pers is an int that is a personId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.
If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimplePersonInfo instead, fully populate it, and pass that to the factory.