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 Specifies what type to use to build the concrete type this attribute is bound to. This class cannot be inherited. This attribute is used by the once the type to build is known based on the configuration information to determine how to build the actual Database instance. Initializes a new instance of the class with an assembler type. The assembler type. Must implement the interface. Gets the database assembler type. 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. 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. Represents the process to build an instance of a concrete described by configuration information. Builds an instance of the concrete subtype of the receiver knows how to build, based on the provided connection string and any configuration information that might be contained by the . The name for the new database instance. The connection string for the new database instance. The source for any additional configuration information. The new database instance. Represents the configuration information for an database connection defined by the connection strings configuration section. Gets the connection string for the represented instance. Gets the provider name for the represented instance. Overrides the 's properties with the Group Policy values from the registry. The configuration section that must be managed. The which holds the Group Policy overrides. Creates the instances that describe the . The configuration section that must be managed. A collection to where the generated WMI objects are to be added. Overrides the 's configuration elements' properties with the Group Policy values from the registry, if any, and creates the instances that describe these configuration elements. The configuration section that must be managed. if Group Policy overrides must be applied; otherwise, . The which holds the Group Policy overrides for the configuration section at the machine level, or if there is no such registry key. The which holds the Group Policy overrides for the configuration section at the user level, or if there is no such registry key. if WMI objects must be generated; otherwise, . A collection to where the generated WMI objects are to be added. Gets the name of the category that represents the whole configuration section. Gets the name of the managed configuration section. Represents the configuration information for the Database Application Block. Gets the name of the default database on the represented database configuration section. DatabaseSettings.DefaultDatabase Overrides the 's properties with the Group Policy values from the registry. The configuration section that must be managed. The which holds the Group Policy overrides. Creates the instances that describe the . The configuration section that must be managed. A collection to where the generated WMI objects are to be added. Overrides the 's configuration elements' properties with the Group Policy values from the registry, if any, and creates the instances that describe these configuration elements. The configuration section that must be managed. if Group Policy overrides must be applied; otherwise, . The which holds the Group Policy overrides for the configuration section at the machine level, or if there is no such registry key. The which holds the Group Policy overrides for the configuration section at the user level, or if there is no such registry key. if WMI objects must be generated; otherwise, . A collection to where the generated WMI objects are to be added. Gets the name of the category that represents the whole configuration section. Gets the name of the managed configuration section. Installer for the WMI objects defined in the assembly. Represents the configuration information for an Oracle database connection defined by the Oracle specific connection information configuration section. The collection of instances defined by an instance of is represented as a array contaning key/value pairs. Gets the package mapping information specified by the represented Oracle connection data object as a array of key/value pairs. Overrides the 's properties with the Group Policy values from the registry. The configuration section that must be managed. The which holds the Group Policy overrides. Creates the instances that describe the . The configuration section that must be managed. A collection to where the generated WMI objects are to be added. Overrides the 's configuration elements' properties with the Group Policy values from the registry, if any, and creates the instances that describe these configuration elements. The configuration section that must be managed. if Group Policy overrides must be applied; otherwise, . The which holds the Group Policy overrides for the configuration section at the machine level, or if there is no such registry key. The which holds the Group Policy overrides for the configuration section at the user level, or if there is no such registry key. if WMI objects must be generated; otherwise, . A collection to where the generated WMI objects are to be added. Gets the name of the category that represents the whole configuration section. Gets the name of the managed configuration section. 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 Connection string. Looks up a localized string similar to Specify settings for connection '{0}'. Looks up a localized string similar to Provider name. Looks up a localized string similar to Connection strings. Looks up a localized string similar to Database. Looks up a localized string similar to Default database. Looks up a localized string similar to Specify Database Block Settings. Looks up a localized string similar to Package mappings. Looks up a localized string similar to Specify settings for oracle connection '{0}'. Looks up a localized string similar to Oracle packages. Looks up a localized string similar to Database type. Looks up a localized string similar to Specify settings for provider '{0}'. Looks up a localized string similar to Provider mappings. Represents the configuration information for a provider mapping defined by the Database Application Block configuration section. Gets the type of the database to which the represented database mapping maps its provider name. 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. Represents the WMI event fired when a command failed during its execution. Base class for data WMI events. Initializes a new instance of the class. name of the this event applies on. Gets the name of the this event applies on. Initializes a new instance of the class. The name of the instance that executed the failed command. The connection string of the that executed the failed command, with credentials removed. The text of the command that failed its execution. The message that describes the exception thrown when the command failed. Gets the text of the command that failed its execution. Gets the connection string of the that executed the failed command, with credentials removed. Gets the message that describes the exception thrown when the command failed. Represents the WMI event fired when a connection failed to be established. Initializes a new instance of the class. The name of the instance that tried to establish the failed the connection. The connection string that caused the failed connection, with credentials removed. The message that describes the exception thrown when the connection failed. Gets the connection string that caused the failed connection, with credentials removed. Gets the message that describes the exception thrown when the connection failed. Represents the WMI event fired when an error in the configuration for the data access block is detected. Initializes a new instance of the class. Name of the instance the failure ocurred in. The message that represents the exception thrown when the configuration error was detected. Gets the message that represents the exception thrown when the configuration error was detected. This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Explicit binder for data access instrumentation. Binds the events exposed by the source to the handlers in the listener. The source of instrumentation events. Must be an instance of . The listener for instrumentation events. Must be an instance of . Defines the logical events that can be instrumented for objects. The concrete instrumentation is provided by an object bound to the events of the provider. The default listener, automatically bound during construction, is . Fires the event. The time the command started its execution. Fires the event. The text of the command that failed its execution. The connection string of the that executed the failed command, with credentials removed. The exception thrown when the command failed. Fires the event. Fires the event. The connection string that caused the failed connection, with credentials removed. The exception thrown when the connection failed. Occurs when a new database connection is opened by a instance. Occurs when the attempt to open a new database connection by a instance fails. Occurs when a database command is executed by a instance. Occurs when the attempt to execute a database command by a instance fails. The instrumentation gateway when no instances of the objects from the block are involved. Initializes a new instance of the class, specifying whether logging to the event log and firing WMI events is allowed. true if writing to the event log is allowed, false otherwise. true if firing WMI events is allowed, false otherwise. Logs the occurrence of a configuration error for the Enterprise Library Data Access Application Block through the available instrumentation mechanisms. Name of the instance in which the configuration error was detected. The exception raised for the configuration error. This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Represents the process to build a according to instrumentation configuration. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Builds a . The instrumentation section that is used as configuration. A fully initialized instance of . Oracle-specific connection information. Initializes a new instance of the class with default values. Gets a collection of objects. A collection of objects. This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Represents the process to build a described by configuration information. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Returns an that represents the building process for a a concrete . The concrete type. The name of the instance to build, or (Nothing in Visual Basic). The cache to use retrieving reflection information. The instance. when concrete type does have the required . This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Returns a new instance of a concrete , described by the found in the under the name , plus any additional configuration information that might describe the the concrete Database. The that represents the current building process. The name of the instance to build, or (Nothing in Visual Basic). The source for configuration objects. The cache to use retrieving reflection information. A new instance of the appropriate subtype of . when the configuration is invalid or cannot be found. 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. 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. The instance that defines the logical events used to instrument this instance. Initializes a new instance of the class with a connection string and a . The connection string for the database. A object. Creates a connection for this database. The for this database. Returns the object to which the instrumentation events have been delegated. Object to which the instrumentation events have been delegated. 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. 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. Creates a for a SQL query. The text of the query. The for the SQL query. 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 . Sets the RowUpdated event for the data adapter. The to set the event. 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 . 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 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. 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 connection and reader when finished. The command that contains the query to execute. An object. 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. 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. 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. 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. 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. Sets a parameter value. The command with the parameter. The parameter name. The parameter value. Gets a parameter value. The command that contains the parameter. The name of the parameter. The value of the parameter. 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. Get's 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. Get's a "wrapped" connection that will be not be disposed if a transaction is active (created by creating a instance). The connection can be disposed when no transaction is active. Determines if the connection will be disposed when there isn't an active transaction. Opens a connection. The opened connection. 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, . Builds a value parameter name for the current database. The name of the parameter. A correctly formated parameter name. Discovers the parameters for a . The to discover the parameters. Retrieves parameter information from the stored procedure specified in the and populates the Parameters collection of the specified object. The to do the discovery. Executes the query for . The representing the query to execute. The quantity of rows affected. 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. Returns the starting index for parameters in a command. The starting index for parameters in a command. 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. Gets the string used to open a database. The string used to open a database. Gets the DbProviderFactory used by the database instance. 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. 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. Represents a view for navigating the configuration data. Initializes a new instance of the class with an object. A object. 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. Returns the that specifies the mapping between an ADO.NET provider factory and a instance. The mapping based in logical names will be probed first. If there is no success, the default type based mappings will be considered. If no default mapping is defined for the provider factory type, the generic database will be used. The name of the instance. The logical provider name. The that matches the . Gets the configuration data. The configuration data. Gets the name of the default configured . The name of the default configured . Contains factory methods for creating Database objects. Method for invoking a default Database object. Reads default settings from the ConnectionSettings.config file. Database dbSvc = DatabaseFactory.CreateDatabase(); Database An error occured while reading the configuration. Method for invoking a specified Database service object. Reads service settings from the ConnectionSettings.config file. Database dbSvc = DatabaseFactory.CreateDatabase("SQL_Customers"); configuration key for database service Database is not defined in configuration. - or - An error exists in the configuration. - or - An error occured while reading the configuration. The constructor being called throws an exception. This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Resolves default names for databases. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Returns the default database name from the configuration in the , if the value for is (Nothing in Visual Basic). The current name. The source for configuration information. The default database name if is (Nothing in Visual Basic), otherwise the original value for name. 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. Provides data for the event. Initializes a new instance of the class. The time the command started its execution. Gets the time the command started its execution. Provides data for the event. Initializes a new instance of the class. The text of the command that failed its execution. The connection string of the that executed the failed command, with credentials removed. The exception thrown when the command failed. Gets the text of the command that failed its execution. Gets the connection string of the that executed the failed command, with credentials removed. Gets the exception thrown when the command failed. Provides data for the event. Initializes a new instance of the class. The connection string that caused the failed connection, with credentials removed. The exception thrown when the connection failed. Gets the connection string that caused the failed connection, with credentials removed. Gets the exception thrown when the connection failed. Represents the installer for the instrumentation events. Not intended for direct use. Initializes a new instance of the class. Lets the system know that the InstallUtil.exe tool will be run against this assembly Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. Provides the concrete instrumentation for the logical events raised by a object. Initializes a new instance of the class. The name of the instance this instrumentation listener is created for. true if performance counters should be updated. true if event log entries should be written. true if WMI events should be fired. Initializes a new instance of the class. The name of the instance this instrumentation listener is created for. true if performance counters should be updated. true if event log entries should be written. true if WMI events should be fired. The that is used to creates unique name for each instance. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Default handler for the event. Increments the "Connections Opened/sec" performance counter. Sender of the event. Data for the event. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Default handler for the event. Increments the "Commands Executed/sec" performance counter. Sender of the event. Data for the event. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Default handler for the event. Increments the "Connections Failed/sec" performance counter, fires the ConnectionFailedEvent WMI event and writes an error entry to the event log. Sender of the event. Data for the event. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Default handler for the event. Increments the "Commands Failed/sec" performance counter, fires the CommandFailedEvent WMI event and writes an error entry to the event log. Sender of the event. Data for the event. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Clears the cached performance counter instances. Creates the performance counters to instrument the caching events for the specified instance names. The instance names for the performance counters. 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). 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. 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 . A wrapper to convert data for oracle for the reader. 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. When reading number from Oracle, data reader gets it back at decimal regardless of data type in Oracle database. This will cast the result to float data type. 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. 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 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 . 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. There is one exception to the rule above. If you're using to provide implicit transactions, you should NOT close the connection on this reader when you're done. Only close the connection if .Current is null. 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. 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. Gets the parameter token used to delimit parameters for the SQL Server database. The '@' symbol. Represents the process to build an instance of described by configuration information. Builds an instance of , based on the provided connection string. The name for the new database instance. The connection string for the new database instance. The source for any additional configuration information. The new sql database instance. 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 Enterprise Library Data Access Application Block. Looks up a localized string similar to Commands Executed/sec is the rate at which database commands were executed.. Looks up a localized string similar to Commands Failed/sec is tha rate at which database commands failed to execute.. Looks up a localized string similar to A configuration failure occurred while creating database ‘{0}’.. Looks up a localized string similar to Connections Failed/sec is the rate at which database connections failed to open.. Looks up a localized string similar to Connections Opened/sec is the rate at which database connections were opened.. Looks up a localized string similar to Enterprise Library Data Performance Counter Instances. 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 command must be a SqlCommand.. 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 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 requested database {0} is not defined in configuration.. 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 value can not be null or an empty string.. 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 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=.