Npgsql Api Docs

NpgsqlConnection.CreateCommand Method 

Creates and returns a NpgsqlCommand object associated with the NpgsqlConnection.

[Visual Basic]
Public Function CreateCommand() As NpgsqlCommand
[C#]
new public NpgsqlCommand CreateCommand();

Return Value

A NpgsqlCommand object.

See Also

NpgsqlConnection Class | Npgsql Namespace