Click or drag to resize

SessionBaseIndexT Method (Database)

Gets an index of all objects of a certain type within a given database (attribute OnePerDatabase must be used). If you have updated objects persisted in a prior transaction that you want part of an index. Call FlushUpdates or call Write/> to add such an object to index before querying using an index./>

Namespace:  VelocityDb.Session
Assembly:  VelocityDb (in VelocityDb.dll) Version: (11.1)
public BTreeSetOidShort<T> Index<T>(
	Database inDatabase


Type: VelocityDbDatabase
Use index as created within this Database

Type Parameters

The type of object indexed

Return Value

Type: BTreeSetOidShortT
The index
See Also