Click or drag to resize

IOptimizedPersistable.ReadMe 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.TypeInfo.TypeVersion
the type version of the object being read
memberBytes
Type:System.Byte[]
the raw bytes to read the object from
offset
Type: System.Int32
current offset into the raw object bytes
session
Type: VelocityDb.Session.SessionBase
the active session
page
Type: VelocityDb.Page
the page of the object
useOidShort
Type: System.Boolean
is object using short references
schema
Type: VelocityDb.TypeInfo.Schema
the active schema
openRefs
Type: System.Boolean
open references objects
toLoadMembers
Type: System.Collections.Generic.List<IOptimizedPersistable>
a list of field members to load
graphDepth
Type: System.Int32
current depth in object read
graphDepthToLoad
Type: System.Int32
requested max object depth to read
primitivesOnly
Type: System.Boolean
if true, only load primitive members (not referenced objects)
See Also