This method is called during load from the storage by the
ObjectContext
class.
Syntax
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As ObjectSet(Of T)
Dim context As ObjectContext
Dim query As IQuery
Dim amount As Integer
instance.Load(context, query, amount)
|
Parameters
- context
- ObjectContext that called this routine.
- query
- IQuery that is executed by the context to
load the objects.
- amount
- Specifies the maximum amount of objects that have to be loaded from the storage.
If the value is -1 all objects should be loaded from the storage that are returned by the query.
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also