An NDoc Documented Class Library |

# NpgsqlCommand Class

Represents a SQL statement or function (stored procedure) to execute against a PostgreSQL database. This class cannot be inherited.

For a list of all members of this type, see NpgsqlCommand Members.

System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Npgsql.NpgsqlCommand

[Visual Basic]
NotInheritable Public Class NpgsqlCommand
Inherits Component
Implements IDbCommand, ICloneable
[C#]
public sealed class NpgsqlCommand : Component, IDbCommand, ICloneable

#### Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

#### Remarks

Missing <remarks> documentation for T:Npgsql.NpgsqlCommand

#### Requirements

Namespace: Npgsql

Assembly: Npgsql (in Npgsql.dll)

#### See Also

NpgsqlCommand Members | Npgsql Namespace