Chili.Opf3 Send comments on this topic.
CompiledQuery Constructor
See Also 
Chili.Opf3.Query Namespace > CompiledQuery Class : CompiledQuery Constructor




command
Storage dependent command that is executed on the storage.
queryType
The QueryType of the CompiledQuery.

Creates a new instance of the CompiledQuery Class.

Attention: Don't create a CompiledQuery in your application. This constructor is only required for some storage classes. Use ToCompiledQuery instead.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal command As IDbCommand, _
   ByVal queryType As QueryTypes _
)
Visual Basic (Usage)Copy Code
Dim command As IDbCommand
Dim queryType As QueryTypes
 
Dim instance As CompiledQuery(command, queryType)
C# 
public CompiledQuery( 
   IDbCommand command,
   QueryTypes queryType
)
Managed Extensions for C++ 
public: CompiledQuery( 
   IDbCommand command,
   QueryTypes queryType
)
C++/CLI 
public:
CompiledQuery( 
   IDbCommand command,
   QueryTypes queryType
)

Parameters

command
Storage dependent command that is executed on the storage.
queryType
The QueryType of the CompiledQuery.

Exceptions

ExceptionDescription
ArgumentNullExceptionCommand is null.

Requirements

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

See Also