Npgsql API Documentation

NpgsqlConnection.CreateCommand Method 

[This is preliminary documentation and subject to change.]

Creates and returns a NpgsqlCommand object associated with the NpgsqlConnection.

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

Return Value

A NpgsqlCommand object.

See Also

NpgsqlConnection Class | Npgsql Namespace