An NDoc Documented Class Library |

# NpgsqlCommand.ExecuteReader Method

Sends the CommandText to the Connection and builds a NpgsqlDataReader.

#### Overload List

Sends the CommandText to the Connection and builds a NpgsqlDataReader.

> public NpgsqlDataReader ExecuteReader();

Sends the CommandText to the Connection and builds a NpgsqlDataReader using one of the CommandBehavior values.

> public NpgsqlDataReader ExecuteReader(CommandBehavior);

#### See Also

NpgsqlCommand Class | Npgsql Namespace