OptimizedPersistableReadMeUsingSchemaReflection Method |
Used by code generator. By default objects are read and written using persisted schema information and reflection.
Namespace:
VelocityDb
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public static void ReadMeUsingSchemaReflection(
TypeVersion typeVersion,
byte[] memberBytes,
ref int offset,
IOptimizedPersistable pObj,
SessionBase session,
Page page,
bool useOidShort,
Schema schema,
bool openRefs,
List<IOptimizedPersistable> toLoadMembers,
int graphDepth,
int graphDepthToLoad,
bool primitivesOnly
)
Public Shared Sub ReadMeUsingSchemaReflection (
typeVersion As TypeVersion,
memberBytes As Byte(),
ByRef offset As Integer,
pObj As IOptimizedPersistable,
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
)
public:
static void ReadMeUsingSchemaReflection(
TypeVersion^ typeVersion,
array<unsigned char>^ memberBytes,
int% offset,
IOptimizedPersistable^ pObj,
SessionBase^ session,
Page^ page,
bool useOidShort,
Schema^ schema,
bool openRefs,
List<IOptimizedPersistable^>^ toLoadMembers,
int graphDepth,
int graphDepthToLoad,
bool primitivesOnly
)
static member ReadMeUsingSchemaReflection :
typeVersion : TypeVersion *
memberBytes : byte[] *
offset : int byref *
pObj : IOptimizedPersistable *
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
Version of a type - memberBytes
- Type: SystemByte
Bytes containing object to read - offset
- Type: SystemInt32
Offset into memberBytes - pObj
- Type: VelocityDbIOptimizedPersistable
The object being read in - session
- Type: VelocityDb.SessionSessionBase
The active session - page
- Type: VelocityDbPage
Page of object being read - useOidShort
- Type: SystemBoolean
Does object use short object references (32bit)? - schema
- Type: VelocityDb.TypeInfoSchema
Schema information - openRefs
- Type: SystemBoolean
Shall references from object also be filled in now - toLoadMembers
- Type: System.Collections.GenericListIOptimizedPersistable
Members remaining to be read - graphDepth
- Type: SystemInt32
Current graph depth read - graphDepthToLoad
- Type: SystemInt32
Stop reading at this graph depth - primitivesOnly
- Type: SystemBoolean
[Missing <param name="primitivesOnly"/> documentation for "M:VelocityDb.OptimizedPersistable.ReadMeUsingSchemaReflection(VelocityDb.TypeInfo.TypeVersion,System.Byte[],System.Int32@,VelocityDb.IOptimizedPersistable,VelocityDb.Session.SessionBase,VelocityDb.Page,System.Boolean,VelocityDb.TypeInfo.Schema,System.Boolean,System.Collections.Generic.List{VelocityDb.IOptimizedPersistable},System.Int32,System.Int32,System.Boolean)"]
See Also