Show / Hide Table of Contents

Class SimpleProjectInfo

Plain-old-data implementation of IProjectInfo, intended for situations where the client knows everything and does not want the database to be involved (for instance, when running on unsaved data)

Inheritance
object
SimpleProjectInfo
Implements
IProjectInfo2
IProjectInfo
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Entities.Providers
Assembly: SoDataBase.dll
Syntax
public class SimpleProjectInfo : IProjectInfo2, IProjectInfo

Constructors

SimpleProjectInfo()

Plain-old-data implementation of IProjectInfo, intended for situations where the client knows everything and does not want the database to be involved (for instance, when running on unsaved data)

Declaration
public SimpleProjectInfo()

Properties

Description

Description of the project

Declaration
public string Description { get; set; }
Property Value
Type Description
string

EventDate

Project, event date

Declaration
public string EventDate { get; set; }
Property Value
Type Description
string

HasGuide

Plain-old-data implementation of IProjectInfo, intended for situations where the client knows everything and does not want the database to be involved (for instance, when running on unsaved data)

Declaration
public bool HasGuide { get; set; }
Property Value
Type Description
bool

InfoText

Plain-old-data implementation of IProjectInfo, intended for situations where the client knows everything and does not want the database to be involved (for instance, when running on unsaved data)

Declaration
public string InfoText { get; set; }
Property Value
Type Description
string

Manager

Project manager

Declaration
public string Manager { get; set; }
Property Value
Type Description
string

Name

Name of the project

Declaration
public string Name { get; set; }
Property Value
Type Description
string

NextMileStoneAppointmentId

Plain-old-data implementation of IProjectInfo, intended for situations where the client knows everything and does not want the database to be involved (for instance, when running on unsaved data)

Declaration
public int NextMileStoneAppointmentId { get; set; }
Property Value
Type Description
int

NextMilestoneDate

Plain-old-data implementation of IProjectInfo, intended for situations where the client knows everything and does not want the database to be involved (for instance, when running on unsaved data)

Declaration
public DateTime NextMilestoneDate { get; set; }
Property Value
Type Description
DateTime

Number

Project number

Declaration
public string Number { get; set; }
Property Value
Type Description
string

ProjectEndDate

Plain-old-data implementation of IProjectInfo, intended for situations where the client knows everything and does not want the database to be involved (for instance, when running on unsaved data)

Declaration
public DateTime ProjectEndDate { get; set; }
Property Value
Type Description
DateTime

ProjectId

Primary key for the project

Declaration
public int ProjectId { get; set; }
Property Value
Type Description
int

PublishEndDate

Project, end date for publishing

Declaration
public string PublishEndDate { get; set; }
Property Value
Type Description
string

PublishStartDate

Project, start date for publishing.

Declaration
public string PublishStartDate { get; set; }
Property Value
Type Description
string

Status

Project status

Declaration
public string Status { get; set; }
Property Value
Type Description
string

Type

Project type

Declaration
public string Type { get; set; }
Property Value
Type Description
string

UdefDecimal

Set the value of a user-defined DECIMAL field, identified by the field number (1-10)

Declaration
public InfoUdefDict UdefDecimal { get; set; }
Property Value
Type Description
InfoUdefDict

UdefInt

Set the value of a user-defined INT field, identified by the field number (1-60)

Declaration
public InfoUdefDict UdefInt { get; set; }
Property Value
Type Description
InfoUdefDict

UdefString

Set the value of a user-defined STRING field, identified by the field number. Number 1-40 are short strings, 41-49 are long strings

Declaration
public InfoUdefDict UdefString { get; set; }
Property Value
Type Description
InfoUdefDict

Web

The project's primary web address

Declaration
public string Web { get; set; }
Property Value
Type Description
string

WebId

The project's primary web address, ID (hidden, unique ID).

Declaration
public int WebId { get; set; }
Property Value
Type Description
int

Methods

GetUserDefinedDecimal(int)

User-defined field 1-10 of the decimal (.NET double) number type.

Declaration
public string GetUserDefinedDecimal(int fieldNo)
Parameters
Type Name Description
int fieldNo

Field number (1-10).

Returns
Type Description
string

User-defined field value.

GetUserDefinedDecimal(string)

NOT SUPPORTED: 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
Returns
Type Description
double

GetUserDefinedInt(int)

Get user-defined field 1-60 of the whole (.NET Int32) number type.

Declaration
public string GetUserDefinedInt(int fieldNo)
Parameters
Type Name Description
int fieldNo

Field number (1-60).

Returns
Type Description
string

User-defined field value.

GetUserDefinedInt(string)

NOT SUPPORTED: 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
Returns
Type Description
int

GetUserDefinedString(int)

Get user-defined field 1-49 of the text (.NET string) type.

Declaration
public string GetUserDefinedString(int fieldNo)
Parameters
Type Name Description
int fieldNo

Field number (1-39).

Returns
Type Description
string

User-defined field value.

GetUserDefinedString(string)

NOT SUPPORTED: 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
Returns
Type Description
string

Implements

IProjectInfo2
IProjectInfo

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top