IOptimizedPersistableWriteMe Method |
Provides a way to customize how an object is written. Used by a code generator
Namespace:
VelocityDb
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax byte[] WriteMe(
TypeVersion typeVersion,
bool addShapeNumber,
PageInfo pageInfo,
IOptimizedPersistable owner,
SessionBase session,
bool inFlush
)
Function WriteMe (
typeVersion As TypeVersion,
addShapeNumber As Boolean,
pageInfo As PageInfo,
owner As IOptimizedPersistable,
session As SessionBase,
inFlush As Boolean
) As Byte()
array<unsigned char>^ WriteMe(
TypeVersion^ typeVersion,
bool addShapeNumber,
PageInfo^ pageInfo,
IOptimizedPersistable^ owner,
SessionBase^ session,
bool inFlush
)
abstract WriteMe :
typeVersion : TypeVersion *
addShapeNumber : bool *
pageInfo : PageInfo *
owner : IOptimizedPersistable *
session : SessionBase *
inFlush : bool -> byte[]
Parameters
- typeVersion
- Type: VelocityDb.TypeInfoTypeVersion
the type version of the object being written - addShapeNumber
- Type: SystemBoolean
add type version number to object bytes - pageInfo
- Type: VelocityDbPageInfo
the page info for the page to written to - owner
- Type: VelocityDbIOptimizedPersistable
owning object - session
- Type: VelocityDb.SessionSessionBase
the active session - inFlush
- Type: SystemBoolean
are we in a page flush
Return Value
Type:
ByteBytes representing this object
See Also