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)
|
| Managed Extensions for C++ | |
|---|
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