Click or drag to resize

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
)

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: Byte
Bytes representing this object
See Also