Click or drag to resize

WeakIOptimizedPersistableReference<T>.GetTarget Method

Gets the persistent object referenced by the weak reference

Namespace:  VelocityDb
Assembly:  VelocityDb (in VelocityDb.dll) Version: 8.2.1.0 (8.2.1)
Syntax
public T GetTarget(
	bool update,
	SessionBase session
)

Parameters

update
Type: System.Boolean
Open the persistent object for update?
session
Type: VelocityDb.Session.SessionBase
The session managing the persistent object

Return Value

Type: T
The object referenced by this weak reference
See Also