Microsoft.Practices.EnterpriseLibrary.Data Namespace

  ClassDescription
Bb689519.pubclass(en-us,PandP.50).gifColumnNameMapping
Represents the mapping from a database column to a PropertyInfo.
Bb689519.pubclass(en-us,PandP.50).gifCommandAccessor<TResult>
Base class for Data Accessors that execute a DbCommand.
Bb689519.pubclass(en-us,PandP.50).gifConnectionString
ConnectionString class constructs a connection string by inserting a username and password into a template.
Bb689519.pubclass(en-us,PandP.50).gifDaabAsyncResult
This class represents an asynchronous operation invoked from the Database class methods.
Bb689519.pubclass(en-us,PandP.50).gifDataAccessor<TResult>
An interface 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<T> of whatever type is.
Bb689519.pubclass(en-us,PandP.50).gifDatabase
Represents an abstract database that commands can be run against.
Bb689519.protclass(en-us,PandP.50).gifDatabase.OldConnectionWrapper
This is a helper class that is used to manage the lifetime of a connection for various Execute methods. We needed this class to support implicit transactions created with the TransactionScope class. In this case, the various Execute methods need to use a shared connection instead of a new connection for each request in order to prevent a distributed transaction.
Bb689519.pubclass(en-us,PandP.50).gifDatabaseConnectionWrapper
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.
Bb689519.pubclass(en-us,PandP.50).gifDatabaseExtensions
Class that contains extension methods that apply on Database.
Bb689519.pubclass(en-us,PandP.50).gifDatabaseFactory
Contains factory methods for creating Database objects.
Bb689519.pubclass(en-us,PandP.50).gifDatabaseProviderFactory

Represents a factory for creating named instances of Database objects.

Bb689519.pubclass(en-us,PandP.50).gifDataReaderWrapper
Wrapper class that implements a pass through version of IDataReader. Useful for various places where we need to wrap data readers for connection management.
Bb689519.pubclass(en-us,PandP.50).gifFuncMapping
Represents a property that will be assigned the value of a user specified function when mapping.
Bb689519.pubclass(en-us,PandP.50).gifGenericDatabase
The GenericDatabase is used when no specific behavior is required or known for a database.
Bb689519.pubclass(en-us,PandP.50).gifMapBuilder<TResult>
Static entry point for the IMapBuilderContext<TResult> interface, which allows to build reflection-based IRowMapper<TResult>s.
Bb689519.pubclass(en-us,PandP.50).gifParameterCache

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.

Bb689519.pubclass(en-us,PandP.50).gifPropertyMapping
Base class for mapping values to properties by the ReflectionRowMapper<TResult>.
Bb689519.pubclass(en-us,PandP.50).gifRefCountingDataReader
An implementation of IDataReader which also properly cleans up the reference count on the given inner DatabaseConnectionWrapper when the reader is closed or disposed.
Bb689519.pubclass(en-us,PandP.50).gifReflectionRowMapper<TResult>
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.
Bb689519.pubclass(en-us,PandP.50).gifSprocAccessor<TResult>
Represents a stored procedure call to the database that will return an enumerable of TResult.
Bb689519.pubclass(en-us,PandP.50).gifSqlStringAccessor<TResult>
Represents a call to the database using SQL that will return an enumerable of TResult.
Bb689519.pubclass(en-us,PandP.50).gifTransactionScopeConnections
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.

  InterfaceDescription
Bb689519.pubinterface(en-us,PandP.50).gifIMapBuilderContext<TResult>
A fluent interface that can be used to construct a IRowMapper<TResult>.
Bb689519.pubinterface(en-us,PandP.50).gifIMapBuilderContextMap<TResult, TMember>
A fluent interface that can be used to construct a IRowMapper<TResult>.
Bb689519.pubinterface(en-us,PandP.50).gifIMapBuilderContextTest<TResult>
This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
Bb689519.pubinterface(en-us,PandP.50).gifIParameterMapper
Interface used to interpret parameters passed to an Execute(Object[]) method and assign them to the DbCommand that will be executed.
Bb689519.pubinterface(en-us,PandP.50).gifIResultSetMapper<TResult>
Represents the operation of mapping a IDataReader to an enumerable of TResult.
Bb689519.pubinterface(en-us,PandP.50).gifIRowMapper<TResult>
Represents the operation of mapping a IDataRecord to TResult.

  EnumerationDescription
Bb689519.pubenumeration(en-us,PandP.50).gifUpdateBehavior
Used with the Database.UpdateDataSet method. Provides control over behavior when the Data Adapter's update command encounters an error.
Show: