Skip to main content
Namespace: OpenTD
Assembly: OpenTD.dll
Base class for objects stored in the AutoCAD database and uniquely-identified by AutoCAD handles.

Inheritance

object ← OpenTDObject ← DbObject

Derived

Orbit, TdDbEntityData

Implements

IUpdatable

Inherited Members

OpenTDObject.SetFrom(OpenTDObject), OpenTDObject.Update(), OpenTDObject.UpdateFromTD(), OpenTDObject.UpdateIn(ThermalDesktop), OpenTDObject.CreateIn(ThermalDesktop), OpenTDObject.TdProxy, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

DbObject()

DbObject(string)

Parameters

_Handle string

Properties

Handle

Property Value

string

TypeName

Property Value

string

Methods

CreateIn(ThermalDesktop)

Creates the TD entity in the specified TD instance.

Parameters

td ThermalDesktop

Equals(object)

Determines whether the specified object is equal to the current object.

Parameters

obj object The object to compare with the current object.

Returns

bool true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

Returns

int A hash code for the current object.

SetFrom(DbObject)

Parameters

x DbObject

Update()

Updates the TD entity with the latest client data.

UpdateFromTD()

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

Operators

operator ==(DbObject, DbObject)

Parameters

first DbObject second DbObject

Returns

bool

operator !=(DbObject, DbObject)

Parameters

first DbObject second DbObject

Returns

bool