WeakIOptimizedPersistableReferenceTGetTarget Method |
Gets the persistent object referenced by the weak reference
Namespace:
VelocityDb
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public T GetTarget(
bool update,
SessionBase session
)
Public Function GetTarget (
update As Boolean,
session As SessionBase
) As T
public:
T GetTarget(
bool update,
SessionBase^ session
)
member GetTarget :
update : bool *
session : SessionBase -> 'T
Parameters
- update
- Type: SystemBoolean
Open the persistent object for update? - session
- Type: VelocityDb.SessionSessionBase
The session managing the persistent object
Return Value
Type:
TThe object referenced by this weak reference
See Also