Show / Hide Table of Contents

Class CustomObject

A single row in a Custom Object table.

Carrier object for CustomObject. Services for the CustomObject Carrier is available from the CustomObject Agent.
Inheritance
object
CustomObject
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/12.2.0.0")]
public class CustomObject : Carrier

Constructors

CustomObject()

Default constructor

Declaration
public CustomObject()
See Also
ICustomObjectAgent

Properties

DefinitionName

Database table name of the Custom Object Definition this row belongs to, e.g. 'y_equipment'.

Declaration
[DataMember]
public virtual string DefinitionName { get; set; }
Property Value
Type Description
string
See Also
ICustomObjectAgent

Id

Primary key of the row.

Declaration
[DataMember]
public virtual int Id { get; set; }
Property Value
Type Description
int
See Also
ICustomObjectAgent

Values

Column values for this row. Keys are database column names; values are formatted with CultureDataFormatter (e.g. '[I:42]' for integers).

Declaration
[DataMember]
public virtual StringDictionary Values { get; set; }
Property Value
Type Description
StringDictionary
See Also
ICustomObjectAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
ICustomObjectAgent

ToString(string)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public string ToString(string prefix)
Parameters
Type Name Description
string prefix

The line prefix (typically used for indenting)

Returns
Type Description
string

The carrier contents.

See Also
ICustomObjectAgent

See Also

ICustomObjectAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top