Npgsql Api Docs |

# 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.

> new public NpgsqlDataReader ExecuteReader();

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

> new public NpgsqlDataReader ExecuteReader(CommandBehavior);

#### See Also

NpgsqlCommand Class | Npgsql Namespace