Click or drag to resize

Placement Constructor (SessionBase, IOptimizedPersistable, IOptimizedPersistable, Boolean, UInt32, Boolean)

Creates a Placement used for choosing a place to persist objects

Namespace:  VelocityDb
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public Placement(
	SessionBase session,
	IOptimizedPersistable placementProviderObject,
	IOptimizedPersistable objectToPlace,
	bool persistRefs = false,
	uint maxNumberOfDatabases = 4294967295,
	bool flushFullPages = true
)

Parameters

session
Type: VelocityDb.SessionSessionBase
The session being used
placementProviderObject
Type: VelocityDbIOptimizedPersistable
If persistent, placement uses thid objects db, page and slot as a atarting point for placements
objectToPlace
Type: VelocityDbIOptimizedPersistable
An object of the type we are going to persist with this placement object
persistRefs (Optional)
Type: SystemBoolean
Is the placement going to request that referenced objects also gets persisted?
maxNumberOfDatabases (Optional)
Type: SystemUInt32
Maximum numner of databases to try for placement
flushFullPages (Optional)
Type: SystemBoolean
Shall a detected full page be flushed if such page is found while persisting an object with this placement
See Also