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.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
Properties
Description
Link description.
Declaration
[DataMember]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
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
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
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
LinkId
Primary key
Declaration
[DataMember]
public virtual int LinkId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The carrier contents. |
See Also
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. |