Enterprise Library Data Access Application Block
7.0-rc1
The Data Access Application Block abstracts the actual database you are using, and exposes a collection of methods that make it easy to access that database and to perform common tasks.
|
Classes | |
class | CachingMechanism |
CachingMechanism provides caching support for stored procedure parameter discovery and caching | |
class | CommandAccessor |
Base class for Data Accessors that execute a DbCommand. More... | |
class | ConnectionString |
ConnectionString class constructs a connection string by inserting a username and password into a template. More... | |
class | DaabAsyncResult |
This class represents an asynchronous operation invoked from the Database class methods. More... | |
class | DataAccessor |
An abstract class representing an object that wraps a database operation. An Accessor is executed, at which point it will go out to the database and return a IEnumerable<TResult> of whatever type TResult is. More... | |
class | Database |
Represents an abstract database that commands can be run against. More... | |
class | DatabaseConnectionWrapper |
This is a small helper class used to manage closing a connection in the presence of transaction pooling. We can't actually close the connection until everyone using it is done, thus, we need reference counting. More... | |
class | DatabaseExtensions |
Class that contains extension methods that apply on Database. More... | |
class | DatabaseFactory |
Contains factory methods for creating Database objects. More... | |
class | DatabaseProviderFactory |
class | DataReaderWrapper |
Wrapper class that implements a pass through version of IDataReader. Useful for various places where we need to wrap data readers for connection management. More... | |
class | GenericDatabase |
The GenericDatabase is used when no specific behavior is required or known for a database. More... | |
interface | IParameterMapper |
Interface used to interpret parameters passed to an DataAccessor<TResult>.Execute(object[]) method and assign them to the DbCommand that will be executed. More... | |
interface | IResultSetMapper |
Represents the operation of mapping a IDataReader to an enumerable of TResult . More... | |
interface | IRowMapper |
Represents the operation of mapping a IDataRecord to TResult . More... | |
class | MapBuilder |
Static entry point for the IMapBuilderContext<TResult> interface, which allows to build reflection-based IRowMapper<TResult>s. More... | |
interface | IMapBuilderContext |
A fluent interface that can be used to construct a IRowMapper<TResult>. More... | |
interface | IMapBuilderContextMap |
A fluent interface that can be used to construct a IRowMapper<TResult>. More... | |
interface | IMapBuilderContextTest |
This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. More... | |
class | ParameterCache |
Provides parameter caching services for dynamic parameter discovery of stored procedures. Eliminates the round-trip to the database to derive the parameters and types when a command is executed more than once. More... | |
class | RefCountingDataReader |
An implementation of IDataReader which also properly cleans up the reference count on the given inner DatabaseConnectionWrapper when the reader is closed or disposed. More... | |
class | ReflectionRowMapper |
An implementation of IRowMapper<TResult> that uses reflection to convert data rows to TResult . Instances of this class can be build using the MapBuilder<TResult> API. More... | |
class | PropertyMapping |
Base class for mapping values to properties by the ReflectionRowMapper<TResult>. More... | |
class | ColumnNameMapping |
Represents the mapping from a database column to a PropertyInfo. More... | |
class | FuncMapping |
Represents a property that will be assigned the value of a user specified function when mapping. More... | |
class | SprocAccessor |
Represents a stored procedure call to the database that will return an enumerable of TResult . More... | |
class | SqlStringAccessor |
Represents a call to the database using SQL that will return an enumerable of TResult . More... | |
class | TransactionScopeConnections |
This class manages the connections that will be used when transactions are active as a result of instantiating a TransactionScope. When a transaction is active, all database access must be through this single connection unless you want to use a distributed transaction, which is an expensive operation. More... | |
Enumerations | |
enum class | UpdateBehavior { Standard , Continue , Transactional } |
Used with the Database.UpdateDataSet method. Provides control over behavior when the Data Adapter's update command encounters an error. More... | |
Used with the Database.UpdateDataSet method. Provides control over behavior when the Data Adapter's update command encounters an error.