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)
Syntaxvoid 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.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