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




query
IQuery that is compiled and executed on the storage.
Executes a command on the storage that does not expect any results.

Syntax

Visual Basic (Declaration) 
Overrides Public Function ExecuteCommand( _
   ByVal query As IQuery _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As SqlStorageBase
Dim query As IQuery
Dim value As Object
 
value = instance.ExecuteCommand(query)
C# 
public override object ExecuteCommand( 
   IQuery query
)
Managed Extensions for C++ 
public: Object* ExecuteCommand( 
   IQuery* query
) override 
C++/CLI 
public:
Object^ ExecuteCommand( 
   IQuery^ query
) override 

Parameters

query
IQuery that is compiled and executed on the storage.

Return Value

An object that represents the value of the %field or null.

Exceptions

ExceptionDescription
ArgumentNullExceptionQuery is null.

Remarks

If the method returns an argument it is used by the framework to set the AutoNumber property of the persistent object.

Requirements

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

See Also