Gets the database table instance for the entity type specified.

Namespace: Hypertable.Persistence
Assembly: ht4o (in ht4o.dll) Version: 0.9.8.11 (0.9.8.11)

Syntax

         
 C#  Visual Basic  Visual C++ 
public ITable GetTable(
	Type entityType
)
Public Function GetTable ( _
	entityType As Type _
) As ITable
public:
ITable^ GetTable(
	Type^ entityType
)

Parameters

entityType
Type
The entity type.

Return Value

The database table instance.

Remarks

Do not dispose the returned table instance, it's owned by the factory context.

See Also