Npgsql API Documentation |

# NpgsqlCommand.ExecuteReader Method

[This is preliminary documentation and subject to change.]

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