2#ifndef _aspose_data_common_db_command_h_
3#define _aspose_data_common_db_command_h_
5#include <system/shared_ptr.h>
6#include <system/string.h>
7#include <system/exceptions.h>
9namespace System {
namespace Data {
namespace Common {
Database command. Objects of this class should only be allocated using System::MakeObject() function....
Definition: db_command.h:19
virtual void set_CommandText(String value) const =0
Sets DB command text.
virtual int ExecuteNonQuery()=0
Executes non-query command.
virtual void set_Connection(SharedPtr< System::Data::Common::DbConnection > value)
Gets database connecton associated with command.
virtual String get_CommandText() const =0
RTTI information.
virtual SharedPtr< DbDataReader > ExecuteReader()
Executes query command.
virtual SharedPtr< System::Data::Common::DbConnection > get_Connection() const
Gets database connecton associated with command.
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Definition: db_command.h:9