Npgsql Api Docs |

# NpgsqlCommand Properties

The properties of the NpgsqlCommand class are listed below. For a complete list of NpgsqlCommand class members, see the NpgsqlCommand Members topic.

#### Public Instance Properties

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 | Overloaded. Gets or sets the NpgsqlConnection used by this instance of the NpgsqlCommand.
Container (inherited from Component) |
DesignTimeVisible |
LastInsertedOID | Returns oid of inserted row. This is only updated when using executenonQuery and when command inserts just a single row. If table is created without oids, this will always be 0.
Parameters | Overloaded. Gets the NpgsqlParameterCollection.
Site (inherited from Component) |
Transaction | Overloaded. 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.

#### See Also

NpgsqlCommand Class | Npgsql Namespace