Npgsql Api Docs |

# NpgsqlCommand Constructor (String)

Initializes a new instance of the NpgsqlCommand class with the text of the query.

[Visual Basic]
Overloads Public Sub New( _
ByVal cmdText As String _
)
[C#]
public NpgsqlCommand(
string cmdText
);

#### Parameters

cmdText
  The text of the query.

#### See Also

NpgsqlCommand Class | Npgsql Namespace | NpgsqlCommand Constructor Overload List