Microsoft.Practices.EnterpriseLibrary.Data CachingMechanism provides caching support for stored procedure parameter discovery and caching Create and return a copy of the IDataParameter array. Empties all items from the cache Add a parameter array to the cache for the command. Gets a parameter array from the cache for the command. Returns null if no parameters are found. Gets if a given stored procedure on a specific connection string has a cached parameter set Base class for Data Accessors that execute a . The element type this accessor will return. 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 of whatever type is. Execute the database operation synchronously, returning the sequence containing the resulting objects. Parameters to pass to the database. The sequence of result objects. Begin executing the database object asynchronously, returning a object that can be used to retrieve the result set after the operation completes. Callback to execute when the operation's results are available. May be null if you don't wish to use a callback. Extra information that will be passed to the callback. May be null. Parameters to pass to the database. This operation will throw if the underlying object does not support asynchronous operation. The underlying database does not support asynchronous operation. The representing this operation. Complete an operation started by . The result sequence. Initialized the with a database instance and a Row Mapper. The used to execute the . The that will be used to convert the returned data to clr type . Initialized the with a database instance and a Row Mapper. The used to execute the . The that will be used to convert the returned set to an enumerable of clr type . Executes the and returns an enumerable of . The enumerable returned by this method uses deferred loading to return the results. The command that will be executed. An enumerable of . Helper method to kick off execution of an asynchronous database operation. This method handles the boilerplate of setting up the parameters and invoking the operation on the database with the right options. The to execute. The to use to set the parameter values. Callback to execute when the operation's result is available. State to pass to the callback. Input parameter values. An object representing the outstanding async request. Complete an operation started by . The result sequence. Checks if the current object supports asynchronous operations, and throws if not. The database does not support asynchronous operations. The database object this accessor is wrapped around. Represents the operation of mapping a to an enumerable of . The element type this result set mapper will be mapping to. When implemented by a class, returns an enumerable of based on . The to map. The enurable of that is based on . This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Name of the connection strings settings configuration section. This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code. A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to Add Data Settings. Looks up a localized string similar to (name). Looks up a localized string similar to Database Instances. Looks up a localized string similar to Database Instances. Looks up a localized string similar to Connection String. Looks up a localized string similar to Connection String. Looks up a localized string similar to A connection string is used to establish the initial connection to a database instance. The exact contents of the connection string depend on the specific data source for this connection.. Looks up a localized string similar to Database Connection String. Looks up a localized string similar to Name. Looks up a localized string similar to Name. Looks up a localized string similar to Database Provider. Looks up a localized string similar to Database Provider. Looks up a localized string similar to Database Settings. Looks up a localized string similar to Database Settings. Looks up a localized string similar to The default Database instance to use when code does not specify a named Database instance.. Looks up a localized string similar to Default Database Instance. Looks up a localized string similar to Configuration settings for the Data Access Application Block.. Looks up a localized string similar to Data Settings. Looks up a localized string similar to Providers that allow the Data Access Application Block to use any database for which a suitable Enterprise Library provider is available.. Looks up a localized string similar to Custom Databases. Looks up a localized string similar to The fully qualified type name of the class that maps the ADO.NET provider for this database type to Enterprise Library.. Looks up a localized string similar to Type. Looks up a localized string similar to A custom class that maps the ADO.NET provider for the database type specified as the provider in the connection string of a Database Instance to Enterprise Library.. Looks up a localized string similar to Custom Database Provider. Looks up a localized string similar to The name of the Custom Database Provider.. Looks up a localized string similar to Name. Configuration extensions for database types specified via the . Defines default connection string settings for fluent-style interface. Connection string to use for this data source. The connection string. Database configuration properties that apply to all databases. This interface is intended to support a fluent-style configuration interface. This interface support the database configuration fluent interface. Specify the type of database. Supports configuring the data connections via fluent-style interface. Configure a named database. Name of database to configure Set this database as the default one in the configuration. Base class to help build database-specific configurations extensions for . Initializes a new DatabaseConfigurationExtension with a context. This class supports extending the data configuration section's fluent-style API. New database providers can inherit from this class to gain access to the current and underlying properties. This class also implements the to enable continuation of the data fluent interface. Configure a named database. Name of database to configure Set this database as the default one in the configuration. Connection string to use for this data source. The connection string. Connection string to use for this data source Specify the type of database. The connection string in progress. Context of the current builder for the extension. Describes a instance, aggregating information from a and potentially other sources of configuration. Initializes a new instance of the class with a connection string and a configuration source. The for the represented database. The from which additional information can be retrieved if necessary. Builds the represented by this configuration object. A database. Gets the for the database data. Gets the function to access configuration information. Gets the name for the represented database. Gets the connection string for the represented database. Represents the root configuration for data. The class maps to the databaseSettings element in configuration. The name of the data configuration section. Initializes a new instance of the class. Retrieves the from a configuration source. The to query for the database settings. The database settings from the configuration source, or (Nothing in Visual Basic) if the configuration source does not contain database settings. Gets or sets the default database instance name. The default database instance name. This property maps to the defaultInstance element in configuration. Holds the optional mappings from ADO.NET's database providers to Enterprise Library's database types. Provides a configuration-like view over the Data Access Application Block sections As the DataAccessBlock relies on a number of configuration sections (such as connectionStrings), this config settings provides an abstraction over all these to simplify creating database objects. Initializes a new instance of the class with the given . This constructor is primarily for test convenience. Initializes a new instance of the class with the given configuraiton access function. Returns the object with the given name from the connection strings configuration section in the receiver's configuration source. The connection string will be retrieved from the configuration source if it contains the connection strings section, otherwise it will be retrieved from the default configuration file. The name for the desired connection string configuration. The connection string configuration. if is (Nothing in Visual Basic) or empty. if the connection string object is not found, or if it does not specify a provider name. Gets the object describing the database instance with name in the configuration source. The name of the database. A configuration object This method is made public for unit testing purposes. Gets the default database instance name. Gets the objects describing the database instances in the configuration source. Databases are derived from the collection of connection strings. Provides extensions for common database providers. A Sql database for use with the System.Data.SqlClient namespace. Configuration context A Sql CE database for use with the System.Data.SqlServerCe namespace. Configuration context An OleDb database for use with the namespace. An Odbc database for use with the namespace. An Oracle database for use with the System.Data.OracleClient namespace. A database with the specified database provider name. Extension context for fluent-interface The provider name to use for this database connection Data configuration fluent interface extions to Configure database connections for Enterprise Library. Source builder root that is extended. Extension point for database providers to connect to the data configuration fluent-api. Provides extenson context for database provider extensions. The current connetion string under construction in the fluent interface. Context of the current builder for the extension Defines the mapping options for providers. Starting point for data configuration. Specify a custom provider name or alias to use. This must map to the name of the invarient name specified by If the provider is not mapped to a specific Enterprise Library class, then the will be used. The name of the database provider's invarient. The to map the provider to. The type. The to map the provider to. Database type to map to Configure a named database. Name of database to configure Set this database as the default one in the configuration. Map the provider alias to the specified database type. Maps the provider to a type that derives from Specify the type of database. Represents the mapping from an ADO.NET provider to an Enterprise Library . The Enterprise Library Data Access Application Block leverages the ADO.NET 2.0 provider factories. To determine what type of matches a given provider factory type, the optional configuration objects can be defined in the block's configuration section. If a mapping is not present for a given provider type, sensible defaults will be used: For provider name "System.Data.SqlClient", or for a provider of type , the will be used. For provider name "System.Data.OracleClient", or for a provider of type , the will be used. In any other case, the will be used. Default name for the Sql managed provider. Default name for the Oracle managed provider. Initializes a new instance of the class. Initializes a new instance of the class with name and type. Initializes a new instance of the class with name and fully qualified type name of the type. Gets or sets the type of database to use for the mapped ADO.NET provider. Gets or sets the fully qualified type name of the database to use for the mapped ADO.NET provider. The fully qualified type name of the database to use for the mapped ADO.NET provider. Gets the logical name of the ADO.NET provider. Odbc database configuration options. Define a connection string with the . OleDb database configuration options. Define an OleDb connection with the Oracle configuration options Define an Oracle connection with a connection string. Define an Oracle connection with the Define an Oracle package with the specified name. Oracle package configuration options. Define the prefix for the Oracle package. SqlCe database configuration options. Sql Server Database configuration options. Define a connection string using the . Describes a instance, aggregating information from a . Initializes a new instance of the class with a connection string and a configuration source. The for the represented database. The from which additional information can be retrieved if necessary. Builds the represented by this configuration object. A database. Gets the name of the ADO.NET provider for the represented database. 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. User code should not use this class directly - it's used internally by the authors of DAAB providers to manage connections when using the DAAB methods. Create a new that wraps the given . Database connection to manage the lifetime of. Decrement the reference count and, if refcount is 0, close the underlying connection. 2 Usual Dispose pattern folderal to shut up FxCop. true if called via method, false if called from finalizer. Of course, since we have no finalizer this will never be false. Increment the reference count for the wrapped connection. The underlying we're managing. Has this wrapper disposed the underlying connection? Class that contains extension methods that apply on . Executes a stored procedure and returns the result as an enumerable of . The conversion from to will be done for each property based on matching property name to column name. The element type that will be returned when executing. The that contains the stored procedure. The name of the stored procedure that will be executed. Parameter values passsed to the stored procedure. An enumerable of . Executes a stored procedure and returns the result as an enumerable of . The conversion from to will be done for each property based on matching property name to column name. The element type that will be returned when executing. The that contains the stored procedure. The name of the stored procedure that will be executed. The that will be used to interpret the parameters passed to the Execute method. Parameter values passsed to the stored procedure. An enumerable of . Executes a stored procedure and returns the result as an enumerable of . The element type that will be returned when executing. The that contains the stored procedure. The name of the stored procedure that will be executed. The that will be used to convert the returned data to clr type . Parameter values passsed to the stored procedure. An enumerable of . Executes a stored procedure and returns the result as an enumerable of . The element type that will be returned when executing. The that contains the stored procedure. The name of the stored procedure that will be executed. The that will be used to interpret the parameters passed to the Execute method. The that will be used to convert the returned data to clr type . Parameter values passsed to the stored procedure. An enumerable of . Executes a stored procedure and returns the result as an enumerable of . The element type that will be returned when executing. The that contains the stored procedure. The name of the stored procedure that will be executed. The that will be used to convert the returned set to an enumerable of clr type . Parameter values passsed to the stored procedure. An enumerable of . Executes a stored procedure and returns the result as an enumerable of . The element type that will be returned when executing. The that contains the stored procedure. The name of the stored procedure that will be executed. The that will be used to interpret the parameters passed to the Execute method. The that will be used to convert the returned set to an enumerable of clr type . Parameter values passsed to the stored procedure. An enumerable of . Creates a for the given stored procedure. The conversion from to will be done for each property based on matching property name to column name. The type the should return when executing. The that contains the stored procedure. The name of the stored procedure that should be executed by the . A new instance of . Creates a for the given stored procedure. The conversion from to will be done for each property based on matching property name to column name. The type the should return when executing. The that will be used to interpret the parameters passed to the Execute method. The that contains the stored procedure. The name of the stored procedure that should be executed by the . A new instance of . Creates a for the given stored procedure. The type the should return when executing. The that will be used to convert the returned data to clr type . The that contains the stored procedure. The name of the stored procedure that should be executed by the . A new instance of . Creates a for the given stored procedure. The type the should return when executing. The that will be used to convert the returned data to clr type . The that contains the stored procedure. The name of the stored procedure that should be executed by the . The that will be used to interpret the parameters passed to the Execute method. A new instance of . Creates a for the given stored procedure. The type the should return when executing. The that will be used to convert the returned set to an enumerable of clr type . The that contains the stored procedure. The name of the stored procedure that should be executed by the . A new instance of . Creates a for the given stored procedure. The type the should return when executing. The that will be used to convert the returned set to an enumerable of clr type . The that contains the stored procedure. The name of the stored procedure that should be executed by the . The that will be used to interpret the parameters passed to the Execute method. A new instance of . Executes a Transact-SQL query and returns the result as an enumerable of . The conversion from to will be done for each property based on matching property name to column name. The element type that will be returned when executing. The that contains the stored procedure. The Transact-SQL query that will be executed. An enumerable of . Executes a Transact-SQL query and returns the result as an enumerable of . The conversion from to will be done for each property based on matching property name to column name. The element type that will be returned when executing. The that contains the stored procedure. The that will be used to convert the returned set to an enumerable of clr type . The Transact-SQL query that will be executed. An enumerable of . Executes a Transact-SQL query and returns the result as an enumerable of . The conversion from to will be done for each property based on matching property name to column name. The element type that will be returned when executing. The that contains the stored procedure. The Transact-SQL query that will be executed. The that will be used to convert the returned data to clr type . An enumerable of . Creates a for the given Transact-SQL query. The conversion from to will be done for each property based on matching property name to column name. The type the should return when executing. The that contains the stored procedure. The Transact-SQL query that will be executed by the . A new instance of . Creates a for the given Transact-SQL query. The conversion from to will be done for each property based on matching property name to column name. The type the should return when executing. The that contains the stored procedure. The Transact-SQL query that will be executed by the . The that will be used to interpret the parameters passed to the Execute method. A new instance of . Creates a for the given Transact-SQL query. The type the should return when executing. The that contains the stored procedure. The Transact-SQL query that will be executed by the . The that will be used to convert the returned data to clr type . A new instance of . Creates a for the given Transact-SQL query. The type the should return when executing. The that contains the stored procedure. The Transact-SQL query that will be executed by the . The that will be used to convert the returned set to an enumerable of clr type . A new instance of . Creates a for the given Transact-SQL query. The type the should return when executing. The that contains the stored procedure. The Transact-SQL query that will be executed by the . The that will be used to interpret the parameters passed to the Execute method. The that will be used to convert the returned data to clr type . A new instance of . Creates a for the given Transact-SQL query. The type the should return when executing. The that contains the stored procedure. The Transact-SQL query that will be executed by the . The that will be used to interpret the parameters passed to the Execute method. The that will be used to convert the returned set to an enumerable of clr type . A new instance of . Wrapper class that implements a pass through version of . Useful for various places where we need to wrap data readers for connection management. Construct a new that delegates all methods to the given . to wrap. Closes the Object. 2 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 Close the contained data reader when disposing. True if called from Dispose method, false if called from finalizer. Since this class doesn't have a finalizer, this will always be true. Gets the name for the field to find. The name of the field or the empty string (""), if there is no value to return. The index of the field to find. The index passed was outside the range of 0 through . 2 Gets the data type information for the specified field. The data type information for the specified field. The index of the field to find. The index passed was outside the range of 0 through . 2 Gets the information corresponding to the type of that would be returned from . The information corresponding to the type of that would be returned from . The index of the field to find. The index passed was outside the range of 0 through . 2 Return the value of the specified field. The which will contain the field value upon return. The index of the field to find. The index passed was outside the range of 0 through . 2 Gets all the attribute fields in the collection for the current record. The number of instances of in the array. An array of to copy the attribute fields into. 2 Return the index of the named field. The index of the named field. The name of the field to find. 2 Gets the value of the specified column as a Boolean. The value of the column. The zero-based column ordinal. The index passed was outside the range of 0 through . 2 Gets the 8-bit unsigned integer value of the specified column. The 8-bit unsigned integer value of the specified column. The zero-based column ordinal. The index passed was outside the range of 0 through . 2 Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset. The actual number of bytes read. The zero-based column ordinal. The index within the field from which to start the read operation. The buffer into which to read the stream of bytes. The index for to start the read operation. The number of bytes to read. The index passed was outside the range of 0 through . 2 Gets the character value of the specified column. The character value of the specified column. The zero-based column ordinal. The index passed was outside the range of 0 through . 2 Reads a stream of characters from the specified column offset into the buffer as an array, starting at the given buffer offset. The actual number of characters read. The zero-based column ordinal. The index within the row from which to start the read operation. The buffer into which to read the stream of bytes. The index for to start the read operation. The number of bytes to read. The index passed was outside the range of 0 through . 2 Returns the GUID value of the specified field. The GUID value of the specified field. The index of the field to find. The index passed was outside the range of 0 through . 2 Gets the 16-bit signed integer value of the specified field. The 16-bit signed integer value of the specified field. The index of the field to find. The index passed was outside the range of 0 through . 2 Gets the 32-bit signed integer value of the specified field. The 32-bit signed integer value of the specified field. The index of the field to find. The index passed was outside the range of 0 through . 2 Gets the 64-bit signed integer value of the specified field. The 64-bit signed integer value of the specified field. The index of the field to find. The index passed was outside the range of 0 through . 2 Gets the single-precision floating point number of the specified field. The single-precision floating point number of the specified field. The index of the field to find. The index passed was outside the range of 0 through . 2 Gets the double-precision floating point number of the specified field. The double-precision floating point number of the specified field. The index of the field to find. The index passed was outside the range of 0 through . 2 Gets the string value of the specified field. The string value of the specified field. The index of the field to find. The index passed was outside the range of 0 through . 2 Gets the fixed-position numeric value of the specified field. The fixed-position numeric value of the specified field. The index of the field to find. The index passed was outside the range of 0 through . 2 Gets the date and time data value of the specified field. The date and time data value of the specified field. The index of the field to find. The index passed was outside the range of 0 through . 2 Returns an for the specified column ordinal. An . The index of the field to find. The index passed was outside the range of 0 through . 2 Return whether the specified field is set to null. true if the specified field is set to null; otherwise, false. The index of the field to find. The index passed was outside the range of 0 through . 2 Returns a that describes the column metadata of the . A that describes the column metadata. The is closed. 2 Advances the data reader to the next result, when reading the results of batch SQL statements. true if there are more rows; otherwise, false. 2 Advances the to the next record. true if there are more rows; otherwise, false. 2 The actual raw we're wrapping. Gets the number of columns in the current row. When not positioned in a valid recordset, 0; otherwise, the number of columns in the current record. The default is -1. 2 Gets a value indicating the depth of nesting for the current row. The level of nesting. 2 Gets a value indicating whether the data reader is closed. true if the data reader is closed; otherwise, false. 2 Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. The number of rows changed, inserted, or deleted; 0 if no rows were affected or the statement failed; and -1 for SELECT statements. 2 Gets the column located at the specified index. The column located at the specified index as an . The zero-based index of the column to get. The index passed was outside the range of 0 through . 2 Gets the column with the specified name. The column with the specified name as an . The name of the column to find. No column with the specified name was found. 2 Interface used to interpret parameters passed to an method and assign them to the that will be executed. Represents the operation of mapping a to . The type this row mapper will be mapping to. When implemented by a class, returns a new based on . The to map. The instance of that is based on . Static entry point for the interface, which allows to build reflection-based s. The type for which a should be build. Returns a that maps all properties for based on name. A new instance of . Returns a that can be used to build a . The has a mapping set up for all properties of based on name. A new instance of . Returns a that can be used to build a . The has no mappings to start out with. A new instance of . This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. A fluent interface that can be used to construct a . The type for which a should be build. Adds a property mapping to the context for that specifies this property will be mapped to a column with a matching name. The property of that should be mapped. The fluent interface that can be used further specify mappings. Adds a property mapping to the context for that specifies this property will be mapped to a column with a matching name. A lambda function that returns the property that should be mapped. The fluent interface that can be used further specify mappings. Adds a property mapping to the context for that specifies this property will be ignored while mapping. The property of that should be mapped. The fluent interface that can be used further specify mappings. Adds a property mapping to the context for that specifies this property will be ignored while mapping. A lambda function that returns the property that should be mapped. The fluent interface that can be used further specify mappings. Adds a property mapping to the context for . A lambda function that returns the property that should be mapped. The fluent interface that can be used to specify how to map this property. Adds a property mapping to the context for . The property of that should be mapped. The fluent interface that can be used to specify how to map this property. Builds the that can be used to map data structures to clr types. An instance of . Returns the list of s that have been accumulated by the context. The list of . A fluent interface that can be used to construct a . The type for which a should be build. The type of the member for which a mapping needs to specified. Maps the current property to a column with the given name. The name of the column the current property should be mapped to. The fluent interface that can be used further specify mappings. Maps the current property to a user specified function. The user specified function that will map the current property. The fluent interface that can be used further specify mappings. A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to A connection to an Oracle database that includes additional information such as the package to use.. Looks up a localized string similar to Oracle Connection. Looks up a localized string similar to The name of the Oracle Connection.. Looks up a localized string similar to Name. Looks up a localized string similar to The Oracle connection packages that define information specific to Oracle databases and this connection.. Looks up a localized string similar to Packages. Looks up a localized string similar to Settings specific to Oracle connections, such as information on Oracle packages.. Looks up a localized string similar to Oracle Connection Settings. Looks up a localized string similar to Connections to Oracle databases.. Looks up a localized string similar to Oracle Connections. Looks up a localized string similar to The Oracle package to use when calling stored procedures in this Oracle database.. Looks up a localized string similar to Package. Looks up a localized string similar to The name of the Oracle Package.. Looks up a localized string similar to Name. Looks up a localized string similar to The prefix of the stored procedures in the specified Oracle package.. Looks up a localized string similar to Prefix. An implementation of which also properly cleans up the reference count on the given inner when the reader is closed or disposed. Create a new that wraps the given and properly cleans the refcount on the given when done. Connection to close. Reader to do the actual work. Closes the Object. 2 Clean up resources. True if called from dispose, false if called from finalizer. We have no finalizer, so this will never be false. An implementation of that uses reflection to convert data rows to . Instances of this class can be build using the API. The type this applies to Creates a new instance of . The 's that specify how each property should be mapped. Given a record from a data reader, map the contents to a common language runtime object. The input data from the database. The mapped object. Base class for mapping values to properties by the . Initializes a new . When implemented by a class, extracts the value for the mapped property from . The data record. The properly converted value. Performs the actual mapping from column to property. The object that contains the . The row that contains the . Sets the to using . The object will be assigned to. The value that will be assigned to . Converts the database value to . Converts the database value to , where is a nullable value. Value from the database. Type to convert to. The converted value. Converts the database value to . Will throw an exception if is a nullable value. Value from the database. Type to convert to. The converted value. Gets the property that will be mapped to. Represents the mapping from a database column to a . Creates a new instance of The name of the column that will be used for mapping. The property that will be used to map to. Converts the value for the column in the with a name matching that of the mapped property to the type of the property. The data record. The value for the corresponding column converted to the type of the mapped property. Gets the name of the column that is used for mapping. Represents a property that will be assigned the value of a user specified function when mapping. Creates a new instance of The func that will be used to map the property. The property that will be used to map to. Gets the value for the mapped property from the . The data record. The value for the corresponding column converted to the type of the mapped property. Gets the function that will be used to map the properties value. Represents a stored procedure call to the database that will return an enumerable of . The element type that will be used to consume the result set. Creates a new instance of that works for a specific and uses to convert the returned rows to clr type . The used to execute the Transact-SQL. The stored procedure that will be executed. The that will be used to convert the returned data to clr type . Creates a new instance of that works for a specific and uses to convert the returned set to an enumerable of clr type . The used to execute the Transact-SQL. The stored procedure that will be executed. The that will be used to convert the returned set to an enumerable of clr type . Creates a new instance of that works for a specific and uses to convert the returned rows to clr type . The will be used to interpret the parameters passed to the Execute method. The used to execute the Transact-SQL. The stored procedure that will be executed. The that will be used to interpret the parameters passed to the Execute method. The that will be used to convert the returned data to clr type . Creates a new instance of that works for a specific and uses to convert the returned set to an enumerable of clr type . The will be used to interpret the parameters passed to the Execute method. The used to execute the Transact-SQL. The stored procedure that will be executed. The that will be used to interpret the parameters passed to the Execute method. The that will be used to convert the returned set to an enumerable of clr type . Executes the stored procedure and returns an enumerable of . The enumerable returned by this method uses deferred loading to return the results. Values that will be interpret by an and function as parameters to the stored procedure. An enumerable of . Begin executing the database object asynchronously, returning a object that can be used to retrieve the result set after the operation completes. Callback to execute when the operation's results are available. May be null if you don't wish to use a callback. Extra information that will be passed to the callback. May be null. Parameters to pass to the database. This operation will throw if the underlying object does not support asynchronous operation. The underlying database does not support asynchronous operation. The representing this operation. Describes a instance, aggregating information from a . Initializes a new instance of the class with a connection string and a configuration source. The for the represented database. The from which additional information can be retrieved if necessary. Builds the represented by this configuration object. A database. Describes a instance, aggregating information from a and any Oracle-specific database information. Initializes a new instance of the class with a connection string and a configuration source. The for the represented database. The from which Oracle-specific information should be retrieved. Builds the represented by this configuration object. A database. Gets the Oracle package mappings for the represented database. Represents a factory for creating named instances of objects. Initializes a new instance of the class with the default configuration source. Initializes a new instance of the class with the given configuration source. The source for configuration information. Initializes a new instance of the class with the given configuration accessor. The source for configuration information. Returns a new instance based on the default instance configuration. A new Database instance. Returns a new instance based on the configuration for . The name of the required instance. A new Database instance. Oracle-specific connection information. Initializes a new instance of the class with default values. Gets a collection of objects. A collection of objects. Oracle-specific configuration section. The section name for the . Initializes a new instance of the class with default values. Retrieves the from the configuration source. The configuration source to retrieve the configuration from. The configuration section, or (Nothing in Visual Basic) if not present in the configuration source. Collection of Oracle-specific connection information. Represents the package information to use when calling a stored procedure for Oracle. A package name can be appended to the stored procedure name of a command if the prefix of the stored procedure matchs the prefix defined. This allows the caller of the stored procedure to use stored procedures in a more database independent fashion. Represents the description of an Oracle package mapping. is used to specify how to transform store procedure names into package qualified Oracle stored procedure names. When implemented by a class, gets the name of the package. The name of the package. When implemented by a class, gets the prefix for the package. The prefix for the package. Initializes a new instance of the class. Initializes a new instance of the class, given the prefix to search for and the name of the package. The name of the package to append to any found procedure that has the . The prefix of the stored procedures used in this package. Gets or sets the prefix of the stored procedures that are in the package in Oracle. The prefix of the stored procedures that are in the package in Oracle. Gets or sets the name of the element. The name of the element. Overriden in order to annotate with designtime attribute. ConnectionString class constructs a connection string by inserting a username and password into a template. Initializes a new instance of the with a connection string, the user ID tokens and password tokens. The connection string. The user id tokens that can be parsed out of the connection string. The password tokens that can be parsed out of the conection string. Gets the formatted connection string. Gets the formatted connection string without the username and password. Formats a new connection string with a user ID and password. The connection string to format. Gets or sets the name of the user. The name of the user. Database username for the connection string. User password for the connection string. Represents an abstract database that commands can be run against. The class leverages the provider factory model from ADO.NET. A database instance holds a reference to a concrete object to which it forwards the creation of ADO.NET objects. Initializes a new instance of the class with a connection string and a . The connection string for the database. A object. Adds a new In object to the given . The command to add the in parameter. The name of the parameter. One of the values. This version of the method is used when you can have the same parameter object multiple times with different values. Adds a new In object to the given . The commmand to add the parameter. The name of the parameter. One of the values. The value of the parameter. Adds a new In object to the given . The command to add the parameter. The name of the parameter. One of the values. The name of the source column mapped to the DataSet and used for loading or returning the value. One of the values. Adds a new Out object to the given . The command to add the out parameter. The name of the parameter. One of the values. The maximum size of the data within the column. Adds a new In object to the given . The command to add the parameter. The name of the parameter. One of the values. The maximum size of the data within the column. One of the values. Avalue indicating whether the parameter accepts (Nothing in Visual Basic) values. The maximum number of digits used to represent the . The number of decimal places to which is resolved. The name of the source column mapped to the DataSet and used for loading or returning the . One of the values. The value of the parameter. Adds a new instance of a object to the command. The command to add the parameter. The name of the parameter. One of the values. One of the values. The name of the source column mapped to the DataSet and used for loading or returning the . One of the values. The value of the parameter. Builds a value parameter name for the current database. The name of the parameter. A correctly formated parameter name. Clears the parameter cache. Since there is only one parameter cache that is shared by all instances of this class, this clears all parameters cached for all databases. Configures a given . The to configure. The name of the parameter. One of the values. The maximum size of the data within the column. One of the values. Avalue indicating whether the parameter accepts (Nothing in Visual Basic) values. The maximum number of digits used to represent the . The number of decimal places to which is resolved. The name of the source column mapped to the DataSet and used for loading or returning the . One of the values. The value of the parameter. Creates a connection for this database. The for this database. Adds a new instance of a object. The name of the parameter. One of the values. The maximum size of the data within the column. One of the values. Avalue indicating whether the parameter accepts (Nothing in Visual Basic) values. The maximum number of digits used to represent the . The number of decimal places to which is resolved. The name of the source column mapped to the DataSet and used for loading or returning the . One of the values. The value of the parameter. A newly created fully initialized with given parameters. Adds a new instance of a object. The name of the parameter. An unconfigured parameter. Retrieves parameter information from the stored procedure specified in the and populates the Parameters collection of the specified object. The to do the discovery. Discovers the parameters for a . The to discover the parameters. Executes the query for . The representing the query to execute. The quantity of rows affected. Executes the and returns the results in a new . The to execute. A with the results of the . Executes the as part of the and returns the results in a new . The to execute. The to execute the command within. A with the results of the . Executes the with and returns the results in a new . The stored procedure to execute. An array of paramters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. A with the results of the . Executes the with as part of the and returns the results in a new within a transaction. The to execute the command within. The stored procedure to execute. An array of paramters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. A with the results of the . Executes the interpreted as specified by the and returns the results in a new . One of the values. The command text to execute. A with the results of the . Executes the as part of the given and returns the results in a new . The to execute the command within. One of the values. The command text to execute. A with the results of the . Executes the and returns the number of rows affected. The command that contains the query to execute. Executes the within the given , and returns the number of rows affected. The command that contains the query to execute. The to execute the command within. Executes the using the given and returns the number of rows affected. The name of the stored procedure to execute. An array of paramters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. The number of rows affected Executes the using the given within a transaction and returns the number of rows affected. The to execute the command within. The name of the stored procedure to execute. An array of parameters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. The number of rows affected. Executes the interpreted as specified by the and returns the number of rows affected. One of the values. The command text to execute. The number of rows affected. Executes the interpreted as specified by the as part of the given and returns the number of rows affected. The to execute the command within. One of the values. The command text to execute. The number of rows affected Executes the and returns an through which the result can be read. It is the responsibility of the caller to close the reader when finished. The command that contains the query to execute. An object. All data readers get wrapped in objects so that they properly manage connections. Some derived Database classes will need to create a different wrapper, so this method is provided so that they can do this. Connection + refcount. The reader to wrap. The new reader. Executes the within a transaction and returns an through which the result can be read. It is the responsibility of the caller to close the connection and reader when finished. The command that contains the query to execute. The to execute the command within. An object. Executes the with the given and returns an through which the result can be read. It is the responsibility of the caller to close the connection and reader when finished. The command that contains the query to execute. An array of paramters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. An object. Executes the with the given within the given and returns an through which the result can be read. It is the responsibility of the caller to close the connection and reader when finished. The to execute the command within. The command that contains the query to execute. An array of paramters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. An object. Executes the interpreted as specified by the and returns an through which the result can be read. It is the responsibility of the caller to close the connection and reader when finished. One of the values. The command text to execute. An object. Executes the interpreted as specified by the within the given and returns an through which the result can be read. It is the responsibility of the caller to close the connection and reader when finished. The to execute the command within. One of the values. The command text to execute. An object. Executes the and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored. The command that contains the query to execute. The first column of the first row in the result set. Executes the within a , and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored. The command that contains the query to execute. The to execute the command within. The first column of the first row in the result set. Executes the with the given and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored. The stored procedure to execute. An array of paramters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. The first column of the first row in the result set. Executes the with the given within a and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored. The to execute the command within. The stored procedure to execute. An array of paramters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. The first column of the first row in the result set. Executes the interpreted as specified by the and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored. One of the values. The command text to execute. The first column of the first row in the result set. Executes the interpreted as specified by the within the given and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored. The to execute the command within. One of the values. The command text to execute. The first column of the first row in the result set. Gets a DbDataAdapter with Standard update behavior. A . Created this new, public method instead of modifying the protected, abstract one so that there will be no breaking changes for any currently derived Database class. Gets the DbDataAdapter with the given update behavior and connection from the proper derived class. One of the values. A . Gets a "wrapped" connection that will be not be disposed if a transaction is active (created by creating a instance). The connection will be disposed when no transaction is active. Gets a "wrapped" connection for use outside a transaction. The wrapped connection. Gets a parameter value. The command that contains the parameter. The name of the parameter. The value of the parameter. Creates a for a SQL query. The text of the query. The for the SQL query. Creates a for a stored procedure. The name of the stored procedure. The for the stored procedure. Creates a for a stored procedure. The name of the stored procedure. The list of parameters for the procedure. The for the stored procedure. The parameters for the stored procedure will be discovered and the values are assigned in positional order. Discovers parameters on the and assigns the values from to the s Parameters list. The command the parameeter values will be assigned to The parameter values that will be assigned to the command. Wraps around a derived class's implementation of the GetStoredProcCommandWrapper method and adds functionality for using this method with UpdateDataSet. The GetStoredProcCommandWrapper method (above) that takes a params array expects the array to be filled with VALUES for the parameters. This method differs from the GetStoredProcCommandWrapper method in that it allows a user to pass in a string array. It will also dynamically discover the parameters for the stored procedure and set the parameter's SourceColumns to the strings that are passed in. It does this by mapping the parameters to the strings IN ORDER. Thus, order is very important. The name of the stored procedure. The list of DataFields for the procedure. The for the stored procedure. Executes the and adds a new to the existing . The to execute. The to load. The name for the new to add to the . Any input parameter was (Nothing in Visual Basic) tableName was an empty string Executes the within the given and adds a new to the existing . The to execute. The to load. The name for the new to add to the . The to execute the command within. Any input parameter was (Nothing in Visual Basic). tableName was an empty string. Loads a from a . The command to execute to fill the . The to fill. An array of table name mappings for the . Loads a from a in a transaction. The command to execute to fill the . The to fill. An array of table name mappings for the . The to execute the command in. Loads a with the results returned from a stored procedure. The stored procedure name to execute. The to fill. An array of table name mappings for the . An array of paramters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. Loads a with the results returned from a stored procedure executed in a transaction. The to execute the stored procedure in. The stored procedure name to execute. The to fill. An array of table name mappings for the . An array of paramters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. Loads a from command text. One of the values. The command text to execute. The to fill. An array of table name mappings for the . Loads a from command text in a transaction. The to execute the command in. One of the values. The command text to execute. The to fill. An array of table name mappings for the . Assigns a to the and discovers parameters if needed. The command that contains the query to prepare. The connection to assign to the command. Assigns a to the and discovers parameters if needed. The command that contains the query to prepare. The transaction to assign to the command. Determines if the number of parameters in the command matches the array of parameter values. The containing the parameters. The array of parameter values. if the number of parameters and values match; otherwise, . Sets a parameter value. The command with the parameter. The parameter name. The parameter value. Sets the RowUpdated event for the data adapter. The to set the event. Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the . The used to update the data source. The name of the source table to use for table mapping. The executed when is The executed when is The executed when is One of the values. The number of database commands to execute in a batch. number of records affected Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the . The used to update the data source. The name of the source table to use for table mapping. The executed when is The executed when is The executed when is One of the values. number of records affected Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the within a transaction. The used to update the data source. The name of the source table to use for table mapping. The executed when is . The executed when is . The executed when is . The to use. The number of commands that can be executed in a single call to the database. Set to 0 to use the largest size the server can handle, 1 to disable batch updates, and anything else to set the number of rows. Number of records affected. Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the within a transaction. The used to update the data source. The name of the source table to use for table mapping. The executed when is . The executed when is . The executed when is . The to use. Number of records affected. Initiates the asynchronous execution of the which will return the number of affected records. The to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the number of affected records. Initiates the asynchronous execution of the inside a transaction which will return the number of affected records. The to execute. The to execute the command within. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the number of affected records. Initiates the asynchronous execution of the using the given which will return the number of rows affected. The name of the stored procedure to execute. An array of paramters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the number of affected records. Initiates the asynchronous execution of the using the given inside a transaction which will return the number of rows affected. The name of the stored procedure to execute. The to execute the command within. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An array of paramters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the number of affected records. Initiates the asynchronous execution of the interpreted as specified by the which will return the number of rows affected. One of the values. The command text to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the number of affected records. Initiates the asynchronous execution of the the interpreted as specified by the inside a tranasaction which will return the number of rows affected. One of the values. The command text to execute. The to execute the command within. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the number of affected records. Finishes asynchronous execution of a SQL statement, returning the number of affected records. The returned by a call to any overload of . The number of affected records. Initiates the asynchronous execution of a which will return a . The to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the . Initiates the asynchronous execution of a inside a transaction which will return a . The to execute. The to execute the command within. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the . Initiates the asynchronous execution of using the given which will return a . The name of the stored procedure to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An array of parameters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the . Initiates the asynchronous execution of using the given inside a transaction which will return a . The to execute the command within. The name of the stored procedure to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An array of parameters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the . Initiates the asynchronous execution of the interpreted as specified by the which will return a . When the async operation completes, the will be invoked on another thread to process the result. One of the values. The command text to execute. to execute when the async operation completes. State object passed to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the . Initiates the asynchronous execution of the interpreted as specified by the inside an transaction which will return a . One of the values. The command text to execute. The to execute the command within. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the . Finishes asynchronous execution of a Transact-SQL statement, returning an . The returned by a call to any overload of BeginExecuteReader. An object that can be used to consume the queried information. Initiates the asynchronous execution of a which will return a single value. The to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the actual result. Initiates the asynchronous execution of a inside a transaction which will return a single value. The to execute. The to execute the command within. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the actual result. Initiates the asynchronous execution of using the given which will return a single value. The name of the stored procedure to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An array of parameters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the actual result. Initiates the asynchronous execution of using the given inside a transaction which will return a single value. The to execute the command within. The name of the stored procedure to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An array of parameters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the actual result. Initiates the asynchronous execution of the interpreted as specified by the which will return a single value. One of the values. The command text to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the actual result. Initiates the asynchronous execution of the interpreted as specified by the inside an transaction which will return a single value. One of the values. The command text to execute. The to execute the command within. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the actual result. Finishes asynchronous execution of a Transact-SQL statement, returning the first column of the first row in the result set returned by the query. Extra columns or rows are ignored. The returned by a call to any overload of BeginExecuteScalar. The value of the first column of the first row in the result set returned by the query. If the result didn't have any columns or rows (Nothing in Visual Basic). Returns the starting index for parameters in a command. The starting index for parameters in a command. Gets the string used to open a database. The string used to open a database. Gets the connection string without the username and password. The connection string without the username and password. Gets the connection string without credentials. The connection string without credentials. Gets the DbProviderFactory used by the database instance. Does this object support parameter discovery? Base class always returns false. Does this object support asynchronous execution? Base class always returns false. 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 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. Create a new "lifetime" container for a instance. The connection Whether or not to dispose of the connection when this class is disposed. Dispose the wrapped connection, if appropriate. Gets the actual connection. Contains factory methods for creating objects. Creates the default object Database dbSvc = DatabaseFactory.CreateDatabase(); The default database The configuration information cannot be read. The database factory has not been intialized or some configuration information is missing. Creates the object with the specified name. Database dbSvc = DatabaseFactory.CreateDatabase("SQL_Customers"); The configuration key for database service The database with the specified name The configuration information cannot be read. The database factory has not been intialized or some configuration information is missing. Sets the provider factory for the static . The provider factory. to thrown an exception if the factory is already set; otherwise, . Defaults to . The factory is already set and is . Sets the database mappings. A method that returns the default database. A method that returns a database for the specified name. to thrown an exception if the factory is already set; otherwise, . Defaults to . The factory is already set and is . Clears the provider factory for the static . The is used when no specific behavior is required or known for a database. This database exposes the used to allow for a provider agnostic programming model. Initializes a new instance of the class with a connection string and a provider factory. The connection string. The provider factory. This operation is not supported in this class. The to do the discovery. There is no generic way to do it, the operation is not implemented for . Thrown whenever this method is called. Represents an Oracle database. Internally uses Oracle .NET Managed Provider from Microsoft () to connect to a Oracle 9i database. When retrieving a result set, it will build the package name. The package name should be set based on the stored procedure prefix and this should be set via configuration. For example, a package name should be set as prefix of "ENTLIB_" and package name of "pkgENTLIB_ARCHITECTURE". For your applications, this is required only if you are defining your stored procedures returning ref cursors. Initializes a new instance of the class with a connection string and a list of Oracle packages. The connection string for the database. Initializes a new instance of the class with a connection string and a list of Oracle packages. The connection string for the database. A list of objects. Adds a new instance of a object to the command. The command to add the parameter. The name of the parameter. One of the values. The maximum size of the data within the column. One of the values. A value indicating whether the parameter accepts (Nothing in Visual Basic) values. The maximum number of digits used to represent the . The number of decimal places to which is resolved. The name of the source column mapped to the DataSet and used for loading or returning the . One of the values. The value of the parameter. Adds a new instance of an object to the command. The to add the parameter. The name of the parameter. One of the values. The maximum size of the data within the column. One of the values. A value indicating whether the parameter accepts (Nothing in Visual Basic) values. The maximum number of digits used to represent the . The number of decimal places to which is resolved. The name of the source column mapped to the DataSet and used for loading or returning the . One of the values. The value of the parameter. Creates an based on the . The command wrapper to execute. An object. can not be (Nothing in Visual Basic). All data readers get wrapped in objects so that they properly manage connections. Some derived Database classes will need to create a different wrapper, so this method is provided so that they can do this. Connection + refcount. The reader to wrap. The new reader. Creates an based on the . The command wrapper to execute. The transaction to participate in when executing this reader. An object. can not be (Nothing in Visual Basic). - or - can not be (Nothing in Visual Basic). Executes a command and returns the results in a new . The command to execute to fill the A filed with records and, if necessary, schema. can not be (Nothing in Visual Basic). Executes a command and returns the result in a new . The command to execute to fill the The transaction to participate in when executing this reader. A filed with records and, if necessary, schema. can not be (Nothing in Visual Basic). can not be (Nothing in Visual Basic). - or - can not be (Nothing in Visual Basic). Loads a from a . The command to execute to fill the . The to fill. An array of table name mappings for the . Loads a from a in a transaction. The command to execute to fill the . The to fill. An array of table name mappings for the . The to execute the command in. Gets a parameter value. The command that contains the parameter. The name of the parameter. The value of the parameter. Sets a parameter value. The command with the parameter. The parameter name. The parameter value. This is a private method that will build the Oracle package name if your stored procedure has proper prefix and postfix. This functionality is include for the portability of the architecture between SQL and Oracle datbase. This method also adds the reference cursor to the command writer if not already added. This is required for Oracle .NET managed data provider. Listens for the RowUpdate event on a data adapter to support UpdateBehavior.Continue Retrieves parameter information from the stored procedure specified in the and populates the Parameters collection of the specified object. The to do the discovery. The must be an instance of a object. Creates a for a stored procedure. The name of the stored procedure. The list of parameters for the procedure. The for the stored procedure. The parameters for the stored procedure will be discovered and the values are assigned in positional order. Discovers parameters on the and assigns the values from to the s Parameters list. The command the parameeter values will be assigned to The parameter values that will be assigned to the command. Creates a for a stored procedure. The name of the stored procedure. The for the stored procedure. The parameters for the stored procedure will be discovered and the values are assigned in positional order. Looks into configuration and gets the information on how the command wrapper should be updated if calling a package on this connection. Sets the RowUpdated event for the data adapter. The to set the event. The must be an . Does this object support parameter discovery? true. A wrapper to convert data for Oracle for the reader. The wrapper performs type conversions to enable retrieving values for types not supported natively by the . The wrapped data reader can be accessed through the property. Gets the value of the specified column as a Boolean. The zero-based column ordinal. The converted value of the column. Bit data type is mapped to a number in Oracle database. When reading bit data from Oracle database, it will map to 0 as false and everything else as true. This method uses System.Convert.ToBoolean() method for type conversions. Gets the value of the specified column converted to an 8-bit unsigned integer. The zero-based column ordinal. The 8-bit unsigned integer value of the specified column. This method uses System.Convert.ToByte() method for type conversions. Gets the value of the specified field converted to a GUID. The index of the field to find. The GUID of the specified field. This method will cast the result data Guid data type. In Oracle you must use that as Raw(16) so that this method can convert that to Guid properly. Gets the value of the specified field converted to a 16-bit signed integer. The index of the field to find. The 16-bit signed integer value of the specified field. Gets the wrapped . Another wrapper for that adds connection reference counting. Closes the Object. 2 Close the contained data reader when disposing and releases the connection if it's not used anymore. True if called from Dispose method, false if called from finalizer. Since this class doesn't have a finalizer, this will always be true. 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. Populates the parameter collection for a command wrapper from the cache or performs a round-trip to the database to query the parameters. The command to add the parameters. The database to use to set the parameters. Empties the parameter cache. Adds parameters to a command using the cache. The command to add the parameters. The database to use. Checks to see if a cache entry exists for a specific command on a specific connection The command to check. The database to check. True if the parameters are already cached for the provided command, false otherwise This class represents an asynchronous operation invoked from the class methods. Construct a new instance. The object returned from the underlying async operation. Command that was executed. Should the command be disposed at EndInvoke time? Should this connection be closed at EndInvoke time? Time operation was invoked. The state object passed to the callback. Wait handle to use to wait synchronously for completion. True if begin operation completed synchronously. Has the operation finished? The underlying object. Should the command be disposed by the End method? The command that was executed. Should the connection be closed by the End method? Connection the operation was invoked on. Time the operation was started. Represents a SQL Server database. Internally uses SQL Server .NET Managed Provider from Microsoft (System.Data.SqlClient) to connect to the database. Initializes a new instance of the class with a connection string. The connection string. Executes the and returns a new . When the returned reader is closed, the underlying connection will be closed (with appropriate handling of connections in the case of an ambient transaction). This is a behavior change from Enterprise Library versions prior to v5. The to execute. An object. Executes the in a transaction and returns a new . Unlike other Execute... methods that take a instance, this method does not set the command behavior to close the connection when you close the reader. That means you'll need to close the connection yourself, by calling the command.Connection.Close() method. The to execute. The to execute the command within. An object. Initiates the asynchronous execution of the which will result in a . The to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the object. Initiates the asynchronous execution of the inside a transaction which will result in a . The to execute. The to execute the command within. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the object. Finishes asynchronous execution of a Transact-SQL statement, returning the requested data as XML. The returned by a call to any overload of . An object that can be used to fetch the resulting XML data. Execute the actual XML Reader call. Listens for the RowUpdate event on a dataadapter to support UpdateBehavior.Continue Retrieves parameter information from the stored procedure specified in the and populates the Parameters collection of the specified object. The to do the discovery. The must be a instance. Returns the starting index for parameters in a command. The starting index for parameters in a command. Builds a value parameter name for the current database. The name of the parameter. A correctly formated parameter name. Sets the RowUpdated event for the data adapter. The to set the event. Determines if the number of parameters in the command matches the array of parameter values. The containing the parameters. The array of parameter values. if the number of parameters and values match; otherwise, . Adds a new instance of a object to the command. The command to add the parameter. The name of the parameter. One of the values. The maximum size of the data within the column. One of the values. A value indicating whether the parameter accepts (Nothing in Visual Basic) values. The maximum number of digits used to represent the . The number of decimal places to which is resolved. The name of the source column mapped to the DataSet and used for loading or returning the . One of the values. The value of the parameter. Adds a new instance of a object to the command. The command to add the parameter. The name of the parameter. One of the values. One of the values. The name of the source column mapped to the DataSet and used for loading or returning the . One of the values. The value of the parameter. Adds a new Out object to the given . The command to add the out parameter. The name of the parameter. One of the values. The maximum size of the data within the column. Adds a new In object to the given . The command to add the in parameter. The name of the parameter. One of the values. This version of the method is used when you can have the same parameter object multiple times with different values. Adds a new In object to the given . The commmand to add the parameter. The name of the parameter. One of the values. The value of the parameter. Adds a new In object to the given . The command to add the parameter. The name of the parameter. One of the values. The name of the source column mapped to the DataSet and used for loading or returning the value. One of the values. Adds a new instance of a object. The name of the parameter. One of the values. The maximum size of the data within the column. One of the values. A value indicating whether the parameter accepts (Nothing in Visual Basic) values. The maximum number of digits used to represent the . The number of decimal places to which is resolved. The name of the source column mapped to the DataSet and used for loading or returning the . One of the values. The value of the parameter. Configures a given . The to configure. The name of the parameter. One of the values. The maximum size of the data within the column. One of the values. A value indicating whether the parameter accepts (Nothing in Visual Basic) values. The maximum number of digits used to represent the . The number of decimal places to which is resolved. The name of the source column mapped to the DataSet and used for loading or returning the . One of the values. The value of the parameter. Initiates the asynchronous execution of the which will return the number of affected records. The to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the number of affected records. Initiates the asynchronous execution of the inside a transaction which will return the number of affected records. The to execute. The to execute the command within. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the number of affected records. Initiates the asynchronous execution of the using the given which will return the number of rows affected. The name of the stored procedure to execute. An array of paramters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the number of affected records. Initiates the asynchronous execution of the using the given inside a transaction which will return the number of rows affected. The name of the stored procedure to execute. The to execute the command within. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An array of paramters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the number of affected records. Initiates the asynchronous execution of the interpreted as specified by the which will return the number of rows affected. One of the values. The command text to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the number of affected records. Initiates the asynchronous execution of the the interpreted as specified by the inside a tranasaction which will return the number of rows affected. One of the values. The command text to execute. The to execute the command within. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the number of affected records. Finishes asynchronous execution of a Transact-SQL statement, returning the number of affected records. The returned by a call to any overload of . The number of affected records. Initiates the asynchronous execution of a which will return a . The to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the . Initiates the asynchronous execution of a inside a transaction which will return a . The to execute. The to execute the command within. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the . Initiates the asynchronous execution of using the given which will return a . The name of the stored procedure to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An array of parameters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the . Initiates the asynchronous execution of using the given inside a transaction which will return a . The to execute the command within. The name of the stored procedure to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An array of parameters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the . Initiates the asynchronous execution of the interpreted as specified by the which will return a . When the async operation completes, the will be invoked on another thread to process the result. One of the values. The command text to execute. to execute when the async operation completes. State object passed to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the . Initiates the asynchronous execution of the interpreted as specified by the inside an transaction which will return a . One of the values. The command text to execute. The to execute the command within. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the . Finishes asynchronous execution of a Transact-SQL statement, returning an . The returned by a call to any overload of BeginExecuteReader. An object that can be used to consume the queried information. Initiates the asynchronous execution of a which will return a single value. The to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the actual result. Initiates the asynchronous execution of a inside a transaction which will return a single value. The to execute. The to execute the command within. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the actual result. Initiates the asynchronous execution of using the given which will return a single value. The name of the stored procedure to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An array of parameters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the actual result. Initiates the asynchronous execution of using the given inside a transaction which will return a single value. The to execute the command within. The name of the stored procedure to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An array of parameters to pass to the stored procedure. The parameter values must be in call order as they appear in the stored procedure. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the actual result. Initiates the asynchronous execution of the interpreted as specified by the which will return a single value. One of the values. The command text to execute. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the actual result. Initiates the asynchronous execution of the interpreted as specified by the inside an transaction which will return a single value. One of the values. The command text to execute. The to execute the command within. The async callback to execute when the result of the operation is available. Pass null if you don't want to use a callback. Additional state object to pass to the callback. An that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the actual result. Finishes asynchronous execution of a Transact-SQL statement, returning the first column of the first row in the result set returned by the query. Extra columns or rows are ignored. The returned by a call to any overload of BeginExecuteScalar. The value of the first column of the first row in the result set returned by the query. If the result didn't have any columns or rows (Nothing in Visual Basic). Gets the parameter token used to delimit parameters for the SQL Server database. The '@' symbol. Does this object support asynchronous execution? true. Does this object support parameter discovery? true. Represents a call to the database using SQL that will return an enumerable of . The element type that will be used to consume the result set. Creates a new instance of that works for a specific and uses to convert the returned rows to clr type . The used to execute the SQL. The SQL that will be executed. The that will be used to convert the returned data to clr type . Creates a new instance of that works for a specific and uses to convert the returned set to an enumerable of clr type . The used to execute the SQL. The SQL that will be executed. The that will be used to convert the returned set to an enumerable of clr type . Creates a new instance of that works for a specific and uses to convert the returned rows to clr type . The will be used to interpret the parameters passed to the Execute method. The used to execute the SQL. The SQL that will be executed. The that will be used to interpret the parameters passed to the Execute method. The that will be used to convert the returned data to clr type . Creates a new instance of that works for a specific and uses to convert the returned set to an enumerable of clr type . The will be used to interpret the parameters passed to the Execute method. The used to execute the SQL. The SQL that will be executed. The that will be used to interpret the parameters passed to the Execute method. The that will be used to convert the returned set to an enumerable of clr type . Executes the SQL query and returns an enumerable of . The enumerable returned by this method uses deferred loading to return the results. Values that will be interpret by an and function as parameters to the Transact SQL query. An enumerable of . Begin executing the SQL query asynchronously. Only supported if the underlying object supports asynchronous operations. Asynchronous callback to execute when the result of the query is available. May be null if no callback is desired. Extra arbitrary state information to pass to the callback. May be null. Parameters to pass to the sql query. An object representing the pending request. Wrapper around that ties into our reference counting on connections. This class manages the connections that will be used when transactions are active as a result of instantiating a . 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. Returns a connection for the current transaction. This will be an existing instance or a new one if there is a active. Otherwise this method returns null. Either a instance or null. This event handler is called whenever a transaction is about to be disposed, which allows us to remove the transaction from our list and dispose the connection instance we created. Used with the Database.UpdateDataSet method. Provides control over behavior when the Data Adapter's update command encounters an error. No interference with the DataAdapter's Update command. If Update encounters an error, the update stops. Additional rows in the Datatable are uneffected. If the DataAdapter's Update command encounters an error, the update will continue. The Update command will try to update the remaining rows. If the DataAdapter encounters an error, all updated rows will be rolled back. A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to The database type "{0}" does not support asynchronous operations.. Looks up a localized string similar to Enterprise Library Data Access Application Block. Looks up a localized string similar to A configuration failure occurred while creating database ‘{0}’.. Looks up a localized string similar to Database=Database;Server=(local)\SQLEXPRESS;Integrated Security=SSPI. Looks up a localized string similar to The connection string used was "{0}".. Looks up a localized string similar to The error occurred using the "{0}" database instance while attempting to open the database connection.. Looks up a localized string similar to The expression must contain a MemberAccessExpression to a property ( t =>t.Property).. Looks up a localized string similar to Type must inherit from Microsoft.Practices.EnterpriseLibrary.Data.Database. Looks up a localized string similar to Cannot create a mapping for type {0}.. Looks up a localized string similar to The column {0} was not found on the IDataRecord being evaluated. This might indicate that the accessor was created with the wrong mappings.. Looks up a localized string similar to The command must be a SqlCommand.. Looks up a localized string similar to The value from column '{0}' cannot be converted to property '{1}' of type '{2}'.. Looks up a localized string similar to The configuration element type {0} does not have an accessible constructor taking a ConnectionStringSettings and an IConfigurationSource as constructor arguments.. Looks up a localized string similar to The configuration element type {0} does not inherit from the DatabaseData class.. Looks up a localized string similar to The connection string for the database '{0}' does not exist or does not have a valid provider.. Looks up a localized string similar to The static DatabaseFactory already has a database provider factory or custom methods set.. Looks up a localized string similar to Database provider factory not set for the static DatabaseFactory. Set a provider factory invoking the DatabaseFactory.SetProviderFactory method or by specifying custom mappings by calling the DatabaseFactory.SetDatabases method.. Looks up a localized string similar to The database type {0} for the name {1} does not have the required [DatabaseAssembler] attribute required to build the database object.. Looks up a localized string similar to The database type {0} does not have the required ConfigurationElementType attribute.. Looks up a localized string similar to The connection string for the default database '{0}' does not exist or does not have a valid provider.. Looks up a localized string similar to The number of parameters does not match number of values for stored procedure.. Looks up a localized string similar to At least one command must be initialized. Looks up a localized string similar to Failed to update row . Looks up a localized string similar to The type {0} does not contain the ConfigurationElementTypeAttribute.. Looks up a localized string similar to The requested database {0} is not defined in configuration.. Looks up a localized string similar to The configuration file does not define a default database.. Looks up a localized string similar to The requested database {0} does not have provider name set in the connection string.. Looks up a localized string similar to The requested database {0} does not have a valid ADO.NET provider name set in the connection string.. Looks up a localized string similar to The value can not be null or an empty string.. Looks up a localized string similar to The database type "{0}" does not support automatic parameter discovery. Use an IParameterMapper instead.. Looks up a localized string similar to Parameter discovery is not supported for connections using GenericDatabase. You must specify the parameters explicitly, or configure the connection to use a type deriving from Database that supports parameter discovery.. Looks up a localized string similar to Sql String Accessor cannot be used to discover parameters. Use an IParameterMapper instead.. Looks up a localized string similar to The table name array used to map results to user-specified table names cannot be empty.. Looks up a localized string similar to Type {0} is not an implementation of IDatabaseAssembler for DatabaseAssemblerAttribute.. Looks up a localized string similar to password=,pwd=. Looks up a localized string similar to user id=,uid=.