> ## 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.FieldInfoRelation

# <a id="SuperOffice_WebApi_Data_FieldInfoRelation" /> Class FieldInfoRelation

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

Carrier object for FieldInfoRelation.
Relation to other table database field.

```csharp theme={null}
public class FieldInfoRelation : FieldInfoBase
```

#### Inheritance

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

#### Inherited Members

[FieldInfoBase.FieldType\_String](SuperOffice.WebApi.Data.FieldInfoBase.md#SuperOffice_WebApi_Data_FieldInfoBase_FieldType_String),
[FieldInfoBase.FieldType](SuperOffice.WebApi.Data.FieldInfoBase.md#SuperOffice_WebApi_Data_FieldInfoBase_FieldType),
[FieldInfoBase.FieldName](SuperOffice.WebApi.Data.FieldInfoBase.md#SuperOffice_WebApi_Data_FieldInfoBase_FieldName),
[FieldInfoBase.DisplayName](SuperOffice.WebApi.Data.FieldInfoBase.md#SuperOffice_WebApi_Data_FieldInfoBase_DisplayName),
[FieldInfoBase.Description](SuperOffice.WebApi.Data.FieldInfoBase.md#SuperOffice_WebApi_Data_FieldInfoBase_Description),
[FieldInfoBase.ShortLabel](SuperOffice.WebApi.Data.FieldInfoBase.md#SuperOffice_WebApi_Data_FieldInfoBase_ShortLabel),
[FieldInfoBase.HideLabel](SuperOffice.WebApi.Data.FieldInfoBase.md#SuperOffice_WebApi_Data_FieldInfoBase_HideLabel),
[FieldInfoBase.HideField](SuperOffice.WebApi.Data.FieldInfoBase.md#SuperOffice_WebApi_Data_FieldInfoBase_HideField),
[FieldInfoBase.IsIndexed](SuperOffice.WebApi.Data.FieldInfoBase.md#SuperOffice_WebApi_Data_FieldInfoBase_IsIndexed),
[FieldInfoBase.IsMandatory](SuperOffice.WebApi.Data.FieldInfoBase.md#SuperOffice_WebApi_Data_FieldInfoBase_IsMandatory),
[FieldInfoBase.IsReadOnly](SuperOffice.WebApi.Data.FieldInfoBase.md#SuperOffice_WebApi_Data_FieldInfoBase_IsReadOnly),
[FieldInfoBase.IsExternal](SuperOffice.WebApi.Data.FieldInfoBase.md#SuperOffice_WebApi_Data_FieldInfoBase_IsExternal),
[FieldInfoBase.IsDisplayField](SuperOffice.WebApi.Data.FieldInfoBase.md#SuperOffice_WebApi_Data_FieldInfoBase_IsDisplayField),
[FieldInfoBase.Rank](SuperOffice.WebApi.Data.FieldInfoBase.md#SuperOffice_WebApi_Data_FieldInfoBase_Rank),
[FieldInfoBase.TemplateVariableName](SuperOffice.WebApi.Data.FieldInfoBase.md#SuperOffice_WebApi_Data_FieldInfoBase_TemplateVariableName),
[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)

## Constructors

### <a id="SuperOffice_WebApi_Data_FieldInfoRelation__ctor" /> FieldInfoRelation()

Default constructor - defaults any enum props to 0.

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

## Properties

### <a id="SuperOffice_WebApi_Data_FieldInfoRelation_DefaultValue" /> DefaultValue

Default record id.

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_FieldInfoRelation_MdoListName" /> MdoListName

MDO list name used to populate this list. (Read-only - derived from TargetTable)

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_FieldInfoRelation_TargetLabel" /> TargetLabel

Display name on target entity.

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_FieldInfoRelation_TargetTable" /> TargetTable

Name of target table: 'contact', 'y\_equipment'

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_FieldInfoRelation_UseDropDown" /> UseDropDown

Show as dropdown list on target?

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

#### Property Value

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

## See Also

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


## Related topics

- [SuperOffice.WebApi.Data.FieldInfoBase](/en/api/reference/webapi/SuperOffice.WebApi.Data.FieldInfoBase.md)
- [SuperOffice.WebApi.Data](/en/api/reference/webapi/SuperOffice.WebApi.Data.md)
- [SuperOffice.WebApi.Data.CustomObjectRelation](/en/api/reference/webapi/SuperOffice.WebApi.Data.CustomObjectRelation.md)
- [SuperOffice.WebApi.Data.RelationTarget](/en/api/reference/webapi/SuperOffice.WebApi.Data.RelationTarget.md)
- [SuperOffice.WebApi.Data.TicketRelationType](/en/api/reference/webapi/SuperOffice.WebApi.Data.TicketRelationType.md)
- [SuperOffice.WebApi.Data.TicketRelationError](/en/api/reference/webapi/SuperOffice.WebApi.Data.TicketRelationError.md)
