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
System.Object
SimpleProjectInfo
Assembly: SoDataBase.dll
Syntax
public class SimpleProjectInfo : Object, IProjectInfo2, IProjectInfo
Constructors
SimpleProjectInfo()
Declaration
public SimpleProjectInfo()
Properties
Description
Declaration
public string Description { get; set; }
Property Value
Type |
Description |
System.String |
|
EventDate
Declaration
public string EventDate { get; set; }
Property Value
Type |
Description |
System.String |
|
HasGuide
Declaration
public bool HasGuide { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
InfoText
Declaration
public string InfoText { get; set; }
Property Value
Type |
Description |
System.String |
|
Manager
Declaration
public string Manager { get; set; }
Property Value
Type |
Description |
System.String |
|
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
NextMileStoneAppointmentId
Declaration
public int NextMileStoneAppointmentId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
NextMilestoneDate
Declaration
public DateTime NextMilestoneDate { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
Number
Declaration
public string Number { get; set; }
Property Value
Type |
Description |
System.String |
|
ProjectEndDate
Declaration
public DateTime ProjectEndDate { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
ProjectId
Declaration
public int ProjectId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
PublishEndDate
Declaration
public string PublishEndDate { get; set; }
Property Value
Type |
Description |
System.String |
|
PublishStartDate
Declaration
public string PublishStartDate { get; set; }
Property Value
Type |
Description |
System.String |
|
Status
Declaration
public string Status { get; set; }
Property Value
Type |
Description |
System.String |
|
Type
Declaration
public string Type { get; set; }
Property Value
Type |
Description |
System.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
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
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
Web
Declaration
public string Web { get; set; }
Property Value
Type |
Description |
System.String |
|
WebId
Declaration
public int WebId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
GetUserDefinedDecimal(Int32)
User-defined field 1-10 of the decimal (.NET double) number type.
Declaration
public string GetUserDefinedDecimal(int fieldNo)
Parameters
Type |
Name |
Description |
System.Int32 |
fieldNo |
Field number (1-10).
|
Returns
Type |
Description |
System.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 |
System.String |
progId |
|
Returns
Type |
Description |
System.Double |
|
GetUserDefinedInt(Int32)
Get user-defined field 1-60 of the whole (.NET Int32) number type.
Declaration
public string GetUserDefinedInt(int fieldNo)
Parameters
Type |
Name |
Description |
System.Int32 |
fieldNo |
Field number (1-60).
|
Returns
Type |
Description |
System.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 |
System.String |
progId |
|
Returns
Type |
Description |
System.Int32 |
|
GetUserDefinedString(Int32)
Get user-defined field 1-49 of the text (.NET string) type.
Declaration
public string GetUserDefinedString(int fieldNo)
Parameters
Type |
Name |
Description |
System.Int32 |
fieldNo |
Field number (1-39).
|
Returns
Type |
Description |
System.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 |
System.String |
progId |
|
Returns
Type |
Description |
System.String |
|
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)