Click or drag to resize

SessionBaseIndexT Method (String, Database)

Gets an index of all objects of a certain type within a given database (attribute OnePerDatabase must be used)

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

Parameters

indexedByFieldName
Type: SystemString
The field used for sorting the indexed objects
inDatabase
Type: VelocityDbDatabase
Database containing index

Type Parameters

T
The type of object indexed

Return Value

Type: BTreeSetOidShortT
The index
See Also