T
Chili.Opf3 Send comments on this topic.
Generic ExecuteReader Method
See Also 
Chili.Opf3.Storages.Oracle Namespace > OracleStorage Class : Generic ExecuteReader Method




context
ObjectContext that is connected with the ObjectReader.
query
IQuery that is compiled and executed on the storage.
Executes and compiles the IQuery and returns an ObjectReader with the resultsset.

Syntax

Visual Basic (Declaration) 
Overrides Public Function ExecuteReader(Of T)( _
   ByVal context As ObjectContext, _
   ByVal query As IQuery _
) As ObjectReader(Of T)
Visual Basic (Usage)Copy Code
Dim instance As OracleStorage
Dim context As ObjectContext
Dim query As IQuery
Dim value As ObjectReader(Of T)
 
value = instance.ExecuteReader(Of T)(context, query)
C# 
public override ObjectReader<T> ExecuteReader<T>( 
   ObjectContext context,
   IQuery query
)
Managed Extensions for C++ 
public: ObjectReader<T>* ExecuteReader<T>( 
   ObjectContext* context,
   IQuery* query
) override 
C++/CLI 
public:
ObjectReader<T>^ ExecuteReadergeneric<typename T>
( 
   ObjectContext^ context,
   IQuery^ query
) override 

Parameters

context
ObjectContext that is connected with the ObjectReader.
query
IQuery that is compiled and executed on the storage.

Type Parameters

T

Exceptions

ExceptionDescription
StorageExceptionAn unexpected storage exception has happened.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also