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

# OpenTD.DbObject Class Reference

Base class for objects stored in the AutoCAD database and uniquely-identified by AutoCAD handles.

Inheritance diagram for OpenTD.DbObject:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=db3d6ea50ad4c27d455a010be031739d)

## Public Member Functions

| Type | Name |
| - | - |
| | [DbObject](#a480a9b60e17ce9a0eab8073318817f82) () |
| void | [SetFrom](#a595c3f7ce20889de96e2adf759fb4c2c) ([DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md) x) |
| | [DbObject](#aae6f74f19e87ba6014f5a233f0a4c029) (string \_Handle) |
| override void | [Update](#a18304eff52add0793e578464eaecb4fb) () Updates the TD entity with the latest client data. |
| override void | [UpdateFromTD](#a0d02db5bdd966c2ec9f83d3f07c4a6e8) () Updates the client-side instance with the latest data from the TD entity. |
| override void | [CreateIn](#ab2b049c600a1290764920ab3a5e4f1b6) ([ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md) td) Creates the TD entity in the specified TD instance. |
| override bool | [Equals](#a07cda25341543659c639e815879e5e38) (object obj) |
| override int | [GetHashCode](#a10d2aadcea2f0c8dbdd597c71cd1f7ad) () |
| void | [SetFrom](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md#aa2e0aa2793e95a56891ef59fb4843ca2) ([OpenTDObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md) x) |
| void | [UpdateIn](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md#a1e5228ce309c9a85ec09e8119318024d) ([ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md) td) Updates the TD entity corresponding to this object in the specified TD instance, if possible. |

## Static Public Member Functions

| Type | Name |
| - | - |
| static bool | [operator==](#adc17b71dfa209f83a3a1730c95a032a6) ([DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md) first, [DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md) second) |
| static bool | [operator!=](#ae362d2d78aad41f0cec5dcc3c345b33d) ([DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md) first, [DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md) second) |

## Protected Attributes

| Type | Name |
| - | - |
| [ITdCommander](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/interface_open_t_d_1_1_internal_1_1_communication_1_1_i_td_commander.md) | [TdProxy](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md#a0da16592e6b635ca0def27b355d669b3) |

## Properties

| Type | Name |
| - | - |
| string | [Handle](#a64061b4cada0773c01f886b2670ab156)`[get, set]` |
| string | [TypeName](#ab9ed363a260a75e71e606e61d3f86352)`[get, set]` |

## Detailed Description

Base class for objects stored in the AutoCAD database and uniquely-identified by AutoCAD handles.

## Constructor & Destructor Documentation

### DbObject() \[1/2]

```csharp theme={null}
OpenTD.DbObject.DbObject()
```

`inline`

### DbObject() \[2/2]

```csharp theme={null}
OpenTD.DbObject.DbObject(string _Handle)
```

`inline`

## Member Function Documentation

### CreateIn()

```csharp theme={null}
override void OpenTD.DbObject.CreateIn(ThermalDesktop td)
```

`inline`

Creates the TD entity in the specified TD instance.

Implements [OpenTD.IReassignable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/interface_open_t_d_1_1_i_reassignable.md#a94cbc52d002a10e44f5dc2daaf9c87db).

### Equals()

```csharp theme={null}
override bool OpenTD.DbObject.Equals(object obj)
```

`inline`

### GetHashCode()

```csharp theme={null}
override int OpenTD.DbObject.GetHashCode()
```

`inline`

### operator!=()

```csharp theme={null}
static bool OpenTD.DbObject.operator!=(
    DbObject first,
    DbObject second
)
```

`inline` `static`

### operator==()

```csharp theme={null}
static bool OpenTD.DbObject.operator==(
    DbObject first,
    DbObject second
)
```

`inline` `static`

### SetFrom() \[1/2]

```csharp theme={null}
void OpenTD.DbObject.SetFrom(DbObject x)
```

`inline`

### SetFrom() \[2/2]

```csharp theme={null}
void OpenTD.OpenTDObject.SetFrom(OpenTDObject x)
```

`inline` `inherited`

### Update()

```csharp theme={null}
override void OpenTD.DbObject.Update()
```

`inline`

Updates the TD entity with the latest client data.

Implements [OpenTD.IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/interface_open_t_d_1_1_i_updatable.md#a162ef7c717f51047a1d45c7df4282470).

### UpdateFromTD()

```csharp theme={null}
override void OpenTD.DbObject.UpdateFromTD()
```

`inline`

Updates the client-side instance with the latest data from the TD entity.

Implements [OpenTD.IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/interface_open_t_d_1_1_i_updatable.md#a47f3096415cfb5694fd822df8a1eceb0).

### UpdateIn()

```csharp theme={null}
void OpenTD.OpenTDObject.UpdateIn(ThermalDesktop td)
```

`inline` `inherited`

Updates the TD entity corresponding to this object in the specified TD instance, if possible.

Implements [OpenTD.IReassignable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/interface_open_t_d_1_1_i_reassignable.md#a90dffde7dd442e9d940f9e5c5fabde14).

## Member Data Documentation

### TdProxy

```csharp theme={null}
ITdCommander OpenTD.OpenTDObject.TdProxy
```

`protected` `inherited`

## Property Documentation

### Handle

```csharp theme={null}
string OpenTD.DbObject.Handle
```

`get` `set`

### TypeName

```csharp theme={null}
string OpenTD.DbObject.TypeName
```

`get` `set`

The documentation for this class was generated from the following file:

* C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/**DbObject.cs**
