SqliteCommand.ExecuteReader Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.