Share via


SqlCeDatabase.ExecuteReader Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

Overload List

  Name Description
Ee744559.pubmethod(en-us,PandP.10).gif ExecuteReader(DbCommand)

Executes the command and returns an IDataReader through which the result can be read. It is the responsibility of the caller to close the connection and reader when finished.

(Inherited from Database.)
Ee744559.pubmethod(en-us,PandP.10).gif ExecuteReader(DbCommand, DbTransaction)

Executes the command within a transaction and returns an IDataReader through which the result can be read. It is the responsibility of the caller to close the connection and reader when finished.

(Inherited from Database.)
Ee744559.pubmethod(en-us,PandP.10).gif ExecuteReader(String, array<Object[])

Executes the storedProcedureName with the given parameterValues and returns an IDataReader through which the result can be read. It is the responsibility of the caller to close the connection and reader when finished.

(Inherited from Database.)
Ee744559.pubmethod(en-us,PandP.10).gif ExecuteReader(CommandType, String)

Executes the commandText interpreted as specified by the commandType and returns an IDataReader through which the result can be read. It is the responsibility of the caller to close the connection and reader when finished.

(Inherited from Database.)
Ee744559.pubmethod(en-us,PandP.10).gif ExecuteReader(DbTransaction, String, array<Object[])

Executes the storedProcedureName with the given parameterValues within the given transaction and returns an IDataReader through which the result can be read. It is the responsibility of the caller to close the connection and reader when finished.

(Inherited from Database.)
Ee744559.pubmethod(en-us,PandP.10).gif ExecuteReader(DbTransaction, CommandType, String)

Executes the commandText interpreted as specified by the commandType within the given transaction and returns an IDataReader through which the result can be read. It is the responsibility of the caller to close the connection and reader when finished.

(Inherited from Database.)

See Also

SqlCeDatabase Class

SqlCeDatabase Members

Microsoft.Practices.EnterpriseLibrary.Data.SqlCe Namespace