Chili.Opf3 Send comments on this topic.
PrepareCommand Method
See Also 
Chili.Opf3.Storages Namespace > SqlStorageBase Class : PrepareCommand Method




query
IQuery that is compiled and executed on the storage.
Routine that prepares the command. Associates the command with a connection and populates it with data from the IQuery.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function PrepareCommand( _
   ByVal query As CompiledQuery _
) As IDbCommand
Visual Basic (Usage)Copy Code
Dim instance As SqlStorageBase
Dim query As CompiledQuery
Dim value As IDbCommand
 
value = instance.PrepareCommand(query)
C# 
protected virtual IDbCommand PrepareCommand( 
   CompiledQuery query
)
Managed Extensions for C++ 
protected: virtual IDbCommand PrepareCommand( 
   CompiledQuery* query
) 
C++/CLI 
protected:
virtual IDbCommand PrepareCommand( 
   CompiledQuery^ query
) 

Parameters

query
IQuery that is compiled and executed on the storage.

Requirements

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

See Also