Click or drag to resize

IOptimizedPersistableReadMe Method

Provides a way to customize how an object is read. Used by a code generator

Namespace:  VelocityDb
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
void ReadMe(
	TypeVersion typeVersion,
	byte[] memberBytes,
	ref int offset,
	SessionBase session,
	Page page,
	bool useOidShort,
	Schema schema,
	bool openRefs,
	List<IOptimizedPersistable> toLoadMembers,
	int graphDepth,
	int graphDepthToLoad,
	bool primitivesOnly
)

Parameters

typeVersion
Type: VelocityDb.TypeInfoTypeVersion
the type version of the object being read
memberBytes
Type: SystemByte
the raw bytes to read the object from
offset
Type: SystemInt32
current offset into the raw object bytes
session
Type: VelocityDb.SessionSessionBase
the active session
page
Type: VelocityDbPage
the page of the object
useOidShort
Type: SystemBoolean
is object using short references
schema
Type: VelocityDb.TypeInfoSchema
the active schema
openRefs
Type: SystemBoolean
open references objects
toLoadMembers
Type: System.Collections.GenericListIOptimizedPersistable
a list of field members to load
graphDepth
Type: SystemInt32
current depth in object read
graphDepthToLoad
Type: SystemInt32
requested max object depth to read
primitivesOnly
Type: SystemBoolean
if true, only load primitive members (not referenced objects)
See Also