Npgsql API Documentation |

# NpgsqlCommand Constructor (String)

[This is preliminary documentation and subject to change.]

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