Class RelationDefinitionEntity
A relation definition entity with source and destination tables
Carrier object for RelationDefinitionEntity. Services for the RelationDefinitionEntity 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.2.0.0")]
public class RelationDefinitionEntity : Carrier
Examples
Get RelationDefinitionEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var relationDefinitionEntity = agent.GetRelationDefinitionEntity( 123 );
}
Constructors
RelationDefinitionEntity()
Default constructor
Declaration
public RelationDefinitionEntity()
See Also
Properties
Deleted
True if deleted
Declaration
[DataMember]
public virtual bool Deleted { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
Destination
The destination of the relation
Declaration
[DataMember]
public virtual RelationTarget Destination { get; set; }
Property Value
Type | Description |
---|---|
RelationTarget |
See Also
Name
Active text
Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
PassiveText
Text used in passive direction
Declaration
[DataMember]
public virtual string PassiveText { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Rank
Rank order
Declaration
[DataMember]
public virtual short Rank { get; set; }
Property Value
Type | Description |
---|---|
short |
See Also
ReldefId
Primary key
Declaration
[DataMember]
public virtual int ReldefId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
Source
The source of the relation
Declaration
[DataMember]
public virtual RelationTarget Source { get; set; }
Property Value
Type | Description |
---|---|
RelationTarget |
See Also
Tooltip
Tooltip or other description
Declaration
[DataMember]
public virtual string Tooltip { get; set; }
Property Value
Type | Description |
---|---|
string |
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. |