Gets the database namespace 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 INamespace GetNamespace(
	Type entityType
)
Public Function GetNamespace ( _
	entityType As Type _
) As INamespace
public:
INamespace^ GetNamespace(
	Type^ entityType
)

Parameters

entityType
Type
The entity type.

Return Value

The database namespace instance.

Remarks

Do not dispose the returned namespace instance, it's owned by the entity manager.

See Also