Show / Hide Table of Contents

Class CustomObjectDefinition

Schema definition for a Custom Object: the underlying table and its fields.

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

Constructors

CustomObjectDefinition()

Default constructor

Declaration
public CustomObjectDefinition()
See Also
ICustomObjectAgent

Properties

Description

Description of the Custom Object.

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

DisplayField

Name of the field used to represent a row in lists and previews.

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

Fields

Field definitions for this Custom Object.

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

Flags

Bitmask of ExtraTableFlag values.

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

IconId

Icon binary-object id used in the UI.

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

Id

Primary key in the extra-tables table.

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

Name

Database table name of the Custom Object, e.g. 'y_equipment'.

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

Title

User-visible title of the Custom Object.

Declaration
[DataMember]
public virtual string Title { get; set; }
Property Value
Type Description
string
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