Retrieves an object from persistent storage
Namespace:
VelocityDb
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public IOptimizedPersistable Slot(
ulong oid,
bool openRefs,
SessionBase session,
Schema schema,
bool iteration,
List<IOptimizedPersistable> toLoadMembers,
int graphDepth,
int graphDepthToLoad = 2147483647,
TypeVersion shape = null
)
Public Function Slot (
oid As ULong,
openRefs As Boolean,
session As SessionBase,
schema As Schema,
iteration As Boolean,
toLoadMembers As List(Of IOptimizedPersistable),
graphDepth As Integer,
Optional graphDepthToLoad As Integer = 2147483647,
Optional shape As TypeVersion = Nothing
) As IOptimizedPersistable
public:
IOptimizedPersistable^ Slot(
unsigned long long oid,
bool openRefs,
SessionBase^ session,
Schema^ schema,
bool iteration,
List<IOptimizedPersistable^>^ toLoadMembers,
int graphDepth,
int graphDepthToLoad = 2147483647,
TypeVersion^ shape = nullptr
)
member Slot :
oid : uint64 *
openRefs : bool *
session : SessionBase *
schema : Schema *
iteration : bool *
toLoadMembers : List<IOptimizedPersistable> *
graphDepth : int *
?graphDepthToLoad : int *
?shape : TypeVersion
(* Defaults:
let _graphDepthToLoad = defaultArg graphDepthToLoad 2147483647
let _shape = defaultArg shape null
*)
-> IOptimizedPersistable
Parameters
- oid
- Type: SystemUInt64
Id of object to retrieve - openRefs
- Type: SystemBoolean
Shall we open references from this object? - session
- Type: VelocityDb.SessionSessionBase
The active session - schema
- Type: VelocityDb.TypeInfoSchema
The active schema - iteration
- Type: SystemBoolean
Is this called as part of an iteration - toLoadMembers
- Type: System.Collections.GenericListIOptimizedPersistable
List of members to load - graphDepth
- Type: SystemInt32
The current load graph depth - graphDepthToLoad (Optional)
- Type: SystemInt32
Max graph depth to load - shape (Optional)
- Type: VelocityDb.TypeInfoTypeVersion
The type version of the object to retrieve
Return Value
Type:
IOptimizedPersistableThe retrieved object
See Also