Class SimpleDocumentInfo
Plain-old-data implementation of IDocumentInfo, intended for situations where the client knows everything and does not want the database to be involved (for instance, when running on unsaved data)
Namespace: SuperOffice.CRM.Entities.Providers
Assembly: SoDataBase.dll
Syntax
public class SimpleDocumentInfo : Object, IDocumentInfo2, IDocumentInfo
Constructors
SimpleDocumentInfo()
Plain-old-data implementation of IDocumentInfo, 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 SimpleDocumentInfo()
Properties
ActiveDate
Plain-old-data implementation of IDocumentInfo, 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 ActiveDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
AppointmentId
Plain-old-data implementation of IDocumentInfo, 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 AppointmentId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ArchiveProvider
Plain-old-data implementation of IDocumentInfo, 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 ArchiveProvider { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
AssociateFullName
Plain-old-data implementation of IDocumentInfo, 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 AssociateFullName { get; set; }
Property Value
Type | Description |
---|---|
String |
AssociateId
Plain-old-data implementation of IDocumentInfo, 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 AssociateId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
AssociateLoginName
Plain-old-data implementation of IDocumentInfo, 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 AssociateLoginName { get; set; }
Property Value
Type | Description |
---|---|
String |
Attention
Plain-old-data implementation of IDocumentInfo, 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 Attention { get; set; }
Property Value
Type | Description |
---|---|
String |
ContactId
Plain-old-data implementation of IDocumentInfo, 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 ContactId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Description
Plain-old-data implementation of IDocumentInfo, 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 Description { get; set; }
Property Value
Type | Description |
---|---|
String |
DocumentId
Plain-old-data implementation of IDocumentInfo, 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 DocumentId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
DocumentTemplateInfo
Plain-old-data implementation of IDocumentInfo, 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 IDocumentTemplateInfo DocumentTemplateInfo { get; }
Property Value
Type | Description |
---|---|
IDocumentTemplateInfo |
ExternalReference
Plain-old-data implementation of IDocumentInfo, 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 ExternalReference { get; set; }
Property Value
Type | Description |
---|---|
String |
Header
Plain-old-data implementation of IDocumentInfo, 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 Header { get; set; }
Property Value
Type | Description |
---|---|
String |
LockSemantics
Plain-old-data implementation of IDocumentInfo, 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 DocumentLockSemantics LockSemantics { get; set; }
Property Value
Type | Description |
---|---|
DocumentLockSemantics |
Name
Plain-old-data implementation of IDocumentInfo, 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 Name { get; set; }
Property Value
Type | Description |
---|---|
String |
OurRef
Plain-old-data implementation of IDocumentInfo, 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 OurRef { get; set; }
Property Value
Type | Description |
---|---|
String |
PersonId
Plain-old-data implementation of IDocumentInfo, 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 PersonId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ProjectId
Plain-old-data implementation of IDocumentInfo, 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 ProjectId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
PublishEndDate
Plain-old-data implementation of IDocumentInfo, 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 PublishEndDate { get; set; }
Property Value
Type | Description |
---|---|
String |
PublishStartDate
Plain-old-data implementation of IDocumentInfo, 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 PublishStartDate { get; set; }
Property Value
Type | Description |
---|---|
String |
Registered
Plain-old-data implementation of IDocumentInfo, 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 Registered { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Salutation
Plain-old-data implementation of IDocumentInfo, 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 Salutation { get; set; }
Property Value
Type | Description |
---|---|
String |
SerialNumber
Plain-old-data implementation of IDocumentInfo, 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 SerialNumber { get; set; }
Property Value
Type | Description |
---|---|
String |
SimpleTmplInfo
Concrete template info carrier, so it can be populated
Declaration
public SimpleDocumentTemplateInfo SimpleTmplInfo { get; set; }
Property Value
Type | Description |
---|---|
SimpleDocumentTemplateInfo |
SuggestedDocumentId
Plain-old-data implementation of IDocumentInfo, 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 SuggestedDocumentId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
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 |
YourRef
Plain-old-data implementation of IDocumentInfo, 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 YourRef { get; set; }
Property Value
Type | Description |
---|---|
String |
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 |
---|---|---|
Int32 | 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(Int32)
Get user-defined field 1-60 of the whole (.NET Int32) number type.
Declaration
public string GetUserDefinedInt(int fieldNo)
Parameters
Type | Name | Description |
---|---|---|
Int32 | 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 |
---|---|
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 |
---|---|---|
Int32 | 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 |