Click or drag to resize

SessionBaseDatabaseNumberOf Method

Get the database number associated with a specific type. Your application can store any type of object in any database but if the application exclusively use Persist(IOptimizedPersistable, NullableUInt16) or Persist(Object) then this is the database Id that will be used given a type.

Namespace:  VelocityDb.Session
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public uint DatabaseNumberOf(
	Type type
)

Parameters

type
Type: SystemType
The type for which you want to get the associated database number (Id)

Return Value

Type: UInt32
The database number associated with the provided type
See Also