SqliteCommand.ExecuteReader Method

Definition

Overloads

ExecuteReader()

Executes the CommandText against the database and returns a data reader.

ExecuteReader(CommandBehavior)

Executes the CommandText against the database and returns a data reader.

ExecuteReader()

Executes the CommandText against the database and returns a data reader.

public virtual Microsoft.Data.Sqlite.SqliteDataReader ExecuteReader ();
override this.ExecuteReader : unit -> Microsoft.Data.Sqlite.SqliteDataReader
Public Overridable Function ExecuteReader () As SqliteDataReader

Returns

The data reader.

Exceptions

A SQLite error occurs during execution.

Applies to

ExecuteReader(CommandBehavior)

Executes the CommandText against the database and returns a data reader.

public virtual Microsoft.Data.Sqlite.SqliteDataReader ExecuteReader (System.Data.CommandBehavior behavior);
override this.ExecuteReader : System.Data.CommandBehavior -> Microsoft.Data.Sqlite.SqliteDataReader
Public Overridable Function ExecuteReader (behavior As CommandBehavior) As SqliteDataReader

Parameters

behavior
CommandBehavior

A description of the results of the query and its effect on the database.

Returns

The data reader.

Exceptions

A SQLite error occurs during execution.

Applies to