NpgsqlCommand
|
Overloaded. Initializes a new instance of the NpgsqlCommand class. |
CommandText | Gets or sets the SQL statement or function (stored procedure) to execute at the data source. |
CommandTimeout | Gets or sets the wait time before terminating the attempt to execute a command and generating an error. |
CommandType | Gets or sets a value indicating how the CommandText property is to be interpreted. |
Connection | Gets or sets the NpgsqlConnection used by this instance of the NpgsqlCommand. |
Container (inherited from Component) | Gets the IContainer that contains the Component. |
Parameters | Gets the NpgsqlParameterCollection. |
Site (inherited from Component) | Gets or sets the ISite of the Component. |
Transaction | Gets or sets the NpgsqlTransaction within which the NpgsqlCommand executes. |
UpdatedRowSource | Gets or sets how command results are applied to the DataRow when used by the Update method of the DbDataAdapter. |
Cancel | Attempts to cancel the execution of a NpgsqlCommand. |
CreateObjRef (inherited from MarshalByRefObject) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
CreateParameter | Creates a new instance of a NpgsqlParameter object. |
Dispose (inherited from Component) | Releases all resources used by the Component. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
ExecuteNonQuery | Executes a SQL statement against the connection and returns the number of rows affected. |
ExecuteReader | Overloaded. Sends the CommandText to the Connection and builds a NpgsqlDataReader. |
ExecuteScalar | Executes the query, and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetLifetimeService (inherited from MarshalByRefObject) | Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetType (inherited from Object) | Gets the Type of the current instance. |
InitializeLifetimeService (inherited from MarshalByRefObject) | Obtains a lifetime service object to control the lifetime policy for this instance. |
Prepare | Creates a prepared version of the command on a PostgreSQL server. |
ToString (inherited from Component) |
Disposed (inherited from Component) | Adds an event handler to listen to the Disposed event on the component. |
NpgsqlCommand Class | Npgsql Namespace