Enterprise Library Data Access Application Block  7.0-rc1
The Data Access Application Block abstracts the actual database you are using, and exposes a collection of methods that make it easy to access that database and to perform common tasks.
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OraclePackageData Class Reference

Represents the package information to use when calling a stored procedure for Oracle. More...

Inheritance diagram for Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OraclePackageData:
Microsoft.Practices.EnterpriseLibrary.Data.Oracle.IOraclePackage

Public Member Functions

 OraclePackageData ()
 Initializes a new instance of the OraclePackageData class. More...
 
 OraclePackageData (string name, string prefix)
 Initializes a new instance of the OraclePackageData class, given the prefix to search for and the name of the package. More...
 

Properties

string Prefix [get, set]
 Gets or sets the prefix of the stored procedures that are in the package in Oracle. More...
 
override string Name [get, set]
 Gets or sets the name of the element. More...
 

Detailed Description

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 matches the prefix defined. This allows the caller of the stored procedure to use stored procedures in a more database independent fashion.

Constructor & Destructor Documentation

◆ OraclePackageData() [1/2]

Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OraclePackageData.OraclePackageData ( )

Initializes a new instance of the OraclePackageData class.

◆ OraclePackageData() [2/2]

Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OraclePackageData.OraclePackageData ( string  name,
string  prefix 
)

Initializes a new instance of the OraclePackageData class, given the prefix to search for and the name of the package.

Parameters
nameThe name of the package to append to any found procedure that has the prefix .
prefixThe prefix of the stored procedures used in this package.

Property Documentation

◆ Name

override string Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OraclePackageData.Name
getset

Gets or sets the name of the element.

The name of the element.

Overridden in order to annotate with design-time attribute.

◆ Prefix

string Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OraclePackageData.Prefix
getset

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.


The documentation for this class was generated from the following file: