Show / Hide Table of Contents

Class Link

Links two entities (contacts/projects/sales/URLs) together.

Carrier object for Link. Services for the Link Carrier is available from the List Agent.
Inheritance
object
Link
LinkExtended
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
[KnownType(typeof(LinkExtended))]
public class Link : Carrier
Examples

Get Link 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
   var agent = new ListAgent();
   var link = agent.GetLink( 123 );
}

Constructors

Link()

Default constructor

Declaration
public Link()
See Also
IListAgent

Properties

Description

Link description.

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

EntityName

Name of the entity the link points to (The destination/target entity)

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

ExtraInfo

Extrainfo for link. Use for information that does not have a primary key

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

Id

Id of the entity the link points to (The destination/target entity primary key)

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

LinkId

Primary key

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

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IListAgent

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
IListAgent

See Also

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