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
)
Sub ReadMe (
typeVersion As TypeVersion,
memberBytes As Byte(),
ByRef offset As Integer,
session As SessionBase,
page As Page,
useOidShort As Boolean,
schema As Schema,
openRefs As Boolean,
toLoadMembers As List(Of IOptimizedPersistable),
graphDepth As Integer,
graphDepthToLoad As Integer,
primitivesOnly As Boolean
)
void ReadMe(
TypeVersion^ typeVersion,
array<unsigned char>^ memberBytes,
int% offset,
SessionBase^ session,
Page^ page,
bool useOidShort,
Schema^ schema,
bool openRefs,
List<IOptimizedPersistable^>^ toLoadMembers,
int graphDepth,
int graphDepthToLoad,
bool primitivesOnly
)
abstract ReadMe :
typeVersion : TypeVersion *
memberBytes : byte[] *
offset : int byref *
session : SessionBase *
page : Page *
useOidShort : bool *
schema : Schema *
openRefs : bool *
toLoadMembers : List<IOptimizedPersistable> *
graphDepth : int *
graphDepthToLoad : int *
primitivesOnly : bool -> unit
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