2. Keeps the connection to the data base alive
Intended for applications with:
- short running transactions
- only a few parallel accesses
- up-to-date data
3.
4. • DbConnection
– represents connection to the data
source
• DbCommand
– represents a SQL command
• DbTransaction
– represents a transaction
– commands can be executed within a
transaction
• DataReader
– result of a data base query
– allows sequential reading of rows
5.
6. • Configuration of the connection
– name of the provider
– identification of data source
– authentication of user
– other database-specific settings