Click or drag to resize

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
)

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