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.0.0 (11.1)
Syntax
public BTreeSetOidShort<T> Index<T>(
	Database inDatabase
)

Parameters

inDatabase
Type: VelocityDbDatabase
Use index as created within this Database

Type Parameters

T
The type of object indexed

Return Value

Type: BTreeSetOidShortT
The index
See Also