> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.RelationDefinitionEntity

# <a id="SuperOffice_WebApi_Data_RelationDefinitionEntity" /> Class RelationDefinitionEntity

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for RelationDefinitionEntity.
A relation definition entity with source and destination tables

```csharp theme={null}
public class RelationDefinitionEntity : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[RelationDefinitionEntity](SuperOffice.WebApi.Data.RelationDefinitionEntity.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Examples

Get RelationDefinitionEntity 123 using the WebApi client:
<pre><code class="lang-csharp">var configuration = new WebApiConfiguration(url);
var agent = new ListAgent(configuration);
var relationDefinitionEntity = agent.GetRelationDefinitionEntity( 123 );</code></pre>

## Constructors

### <a id="SuperOffice_WebApi_Data_RelationDefinitionEntity__ctor" /> RelationDefinitionEntity()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public RelationDefinitionEntity()
```

## Properties

### <a id="SuperOffice_WebApi_Data_RelationDefinitionEntity_Deleted" /> Deleted

True if deleted

```csharp theme={null}
public virtual bool Deleted { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_RelationDefinitionEntity_Destination" /> Destination

The destination of the relation
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public RelationTarget? Destination { get; set; }
```

#### Property Value

[RelationTarget](SuperOffice.WebApi.Data.RelationTarget.md)?

#### See Also

[RelationDefinitionEntity](SuperOffice.WebApi.Data.RelationDefinitionEntity.md).[Destination\_String](SuperOffice.WebApi.Data.RelationDefinitionEntity.md#SuperOffice_WebApi_Data_RelationDefinitionEntity_Destination_String)

### <a id="SuperOffice_WebApi_Data_RelationDefinitionEntity_Destination_String" /> Destination\_String

The destination of the relation
Raw string enum value.

```csharp theme={null}
[JsonProperty("Destination")]
public string Destination_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[RelationDefinitionEntity](SuperOffice.WebApi.Data.RelationDefinitionEntity.md).[Destination](SuperOffice.WebApi.Data.RelationDefinitionEntity.md#SuperOffice_WebApi_Data_RelationDefinitionEntity_Destination)

### <a id="SuperOffice_WebApi_Data_RelationDefinitionEntity_Name" /> Name

Active text

```csharp theme={null}
public virtual string Name { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_RelationDefinitionEntity_PassiveText" /> PassiveText

Text used in passive direction

```csharp theme={null}
public virtual string PassiveText { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_RelationDefinitionEntity_Rank" /> Rank

Rank order

```csharp theme={null}
public virtual short Rank { get; set; }
```

#### Property Value

[short](https://learn.microsoft.com/dotnet/api/system.int16)

### <a id="SuperOffice_WebApi_Data_RelationDefinitionEntity_ReldefId" /> ReldefId

Primary key

```csharp theme={null}
public virtual int ReldefId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_RelationDefinitionEntity_Source" /> Source

The source of the relation
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public RelationTarget? Source { get; set; }
```

#### Property Value

[RelationTarget](SuperOffice.WebApi.Data.RelationTarget.md)?

#### See Also

[RelationDefinitionEntity](SuperOffice.WebApi.Data.RelationDefinitionEntity.md).[Source\_String](SuperOffice.WebApi.Data.RelationDefinitionEntity.md#SuperOffice_WebApi_Data_RelationDefinitionEntity_Source_String)

### <a id="SuperOffice_WebApi_Data_RelationDefinitionEntity_Source_String" /> Source\_String

The source of the relation
Raw string enum value.

```csharp theme={null}
[JsonProperty("Source")]
public string Source_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[RelationDefinitionEntity](SuperOffice.WebApi.Data.RelationDefinitionEntity.md).[Source](SuperOffice.WebApi.Data.RelationDefinitionEntity.md#SuperOffice_WebApi_Data_RelationDefinitionEntity_Source)

### <a id="SuperOffice_WebApi_Data_RelationDefinitionEntity_Tooltip" /> Tooltip

Tooltip or other description

```csharp theme={null}
public virtual string Tooltip { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

## See Also

[ListAgent](SuperOffice.WebApi.Agents.ListAgent.md)


## Related topics

- [SuperOffice.WebApi.Agents.IListAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IListAgent.md)
- [SuperOffice.WebApi.Agents.ListAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ListAgent.md)
- [SuperOffice.WebApi.Data.TicketRelationDefinitionEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.TicketRelationDefinitionEntity.md)
- [SuperOffice.WebApi.Data.List GetAllTicketRelationDefinitionEntitiesRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.List_GetAllTicketRelationDefinitionEntitiesRequest.md)
- [SuperOffice.WebApi.Data.ContactRelationEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.ContactRelationEntity.md)
- [SuperOffice.WebApi.Data.TicketRelationEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.TicketRelationEntity.md)
