OptimizedPersistableWriteMeUsingSchemaReflection Method |
Used by code generator. This is the default way of writing objects using schema information and .NET reflection info.
Namespace:
VelocityDb
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public static byte[] WriteMeUsingSchemaReflection(
TypeVersion typeVersion,
IOptimizedPersistable pObj,
bool addShapeNumber,
PageInfo pageInfo,
IOptimizedPersistable owner,
SessionBase session,
bool inFlush
)
Public Shared Function WriteMeUsingSchemaReflection (
typeVersion As TypeVersion,
pObj As IOptimizedPersistable,
addShapeNumber As Boolean,
pageInfo As PageInfo,
owner As IOptimizedPersistable,
session As SessionBase,
inFlush As Boolean
) As Byte()
public:
static array<unsigned char>^ WriteMeUsingSchemaReflection(
TypeVersion^ typeVersion,
IOptimizedPersistable^ pObj,
bool addShapeNumber,
PageInfo^ pageInfo,
IOptimizedPersistable^ owner,
SessionBase^ session,
bool inFlush
)
static member WriteMeUsingSchemaReflection :
typeVersion : TypeVersion *
pObj : IOptimizedPersistable *
addShapeNumber : bool *
pageInfo : PageInfo *
owner : IOptimizedPersistable *
session : SessionBase *
inFlush : bool -> byte[]
Parameters
- typeVersion
- Type: VelocityDb.TypeInfoTypeVersion
The version of the type being read - pObj
- Type: VelocityDbIOptimizedPersistable
The object being written - addShapeNumber
- Type: SystemBoolean
Shall we include bytes containing the type version of the object? - pageInfo
- Type: VelocityDbPageInfo
PageInfo for the current page - owner
- Type: VelocityDbIOptimizedPersistable
Owner of object being written - session
- Type: VelocityDb.SessionSessionBase
The active session - inFlush
- Type: SystemBoolean
Is page flushing OK while preparing this object to be written?
Return Value
Type:
ByteBytes of this object
See Also