Creates a new instance of the
ObjectReader Class.
Syntax
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As StorageBase
Dim context As ObjectContext
Dim innerReader As IDataReader
Dim value As ObjectReader(Of T)
value = instance.CreateObjectReader(Of T)(context, innerReader)
|
Parameters
- context
- An instance of the ObjectContext that is passed to the storage.
- innerReader
- The IDataReader returned by the storage (after executing the command on the storage).
Type Parameters
- T
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also