Name | Description | |
---|---|---|
OracleConnection Constructor | Overloaded. Initializes a new instance of OracleConnection class. |
The following tables list the members exposed by OracleConnection.
Name | Description | |
---|---|---|
OracleConnection Constructor | Overloaded. Initializes a new instance of OracleConnection class. |
Name | Description | |
---|---|---|
ActionName | Gets or sets the action name for the connection. | |
AutoCommit | Determines whether modifications will be committed automatically at the server or not. | |
ClientId | This property specifies the client identifier for the connection. It helps to make audition of the client connections and gives an opportunity to distinguish between the applications connecting to. | |
ClientInfo | Gets or sets the client information for the connection. | |
ClientVersion | Returns version of Oracle client used for this connection. | |
ConnectionString | Gets or sets the string used to open an Oracle server database. | |
ConnectionTimeout | Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error. | |
ConnectMode | Opens a session with administrative privileges SYSDBA or SYSOPER. | |
Container | Gets the System.ComponentModel.IContainer that contains the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component) | |
Credential | Gets or sets user credentials with a more securely stored password. | |
DataSource | Gets or sets name of the server to which to connect. (Inherited from Devart.Common.DbConnectionBase) | |
DescribeStoredProcedure | ||
Direct | Indicates whether Direct mode of communicating with server should be used. | |
Home | Gets or sets Oracle Home to be used. | |
Homes | Gets the list of all available Oracle homes. | |
InDistributedTransaction | Indicates whether the connection is enlisted in a distributed transaction. (Inherited from Devart.Common.DbConnectionBase) | |
LogicalTransactionId | Gets the logical transaction ID (LTXID) of the last executed translation. Can be used for determining the outcome of the last transaction, opened by this connection, following an outage. Requires Oracle 12c and works only in OCI mode. | |
ModuleName | Gets or sets the module name for the connection. | |
Name | Gets or sets name of the component. | |
NumberMappings | Gets or sets the collection of number mappings used for this connection. | |
OracleLogicalTransaction | Gets an OracleLogicalTransaction object, which allows you to determine whether the running transaction during the last database outage was successfully committed and completed. | |
Owner | Gets or sets a form or other container that the OracleConnection instance belongs to. | |
PassParametersByName | Determines whether parameters will be passed by name to the stored procedure calls. | |
Password | Gets or sets the user's password to connect. | |
Port | Gets or sets number of a port to communicate with listener on the server. | |
Server | Gets or sets the name of TNS alias of the Oracle database to which to connect. | |
ServerType | Indicates whether the connected database is an Oracle database or a TimesTen database. | |
ServerVersion | Gets a string containing the version of the instance of Oracle to which the client is connected. | |
ServiceName | Gets or sets an alias to an Oracle database instance (or many instances) to use in the OracleConnection.Direct mode. | |
ShortServerVersion | Gets the version of the instance of Oracle Database, the OracleConnection object is connected to, as a System.Version object. | |
Sid | Gets or sets a unique name for an Oracle database instance. | |
Site | Gets or sets the System.ComponentModel.ISite of the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component) | |
SshOptions | Gets or sets SshOptions object which is used to establish secure SSH connection with server in the Direct mode. | |
SslCert | Gets or sets the SSL Certificate contents as a base64 encoded string. | |
SslKey | Gets or sets the SSL Key contents as a base64 encoded string. | |
SslOptions | Gets or sets SslOptions object which is used to establish secure SSL/TLS connection with server in the Direct mode. | |
SslServerCertDN | Gets or sets parameters for Oracle server certificate check. | |
SslWalletPath | Determines the location of the Oracle Wallet to get a certificate for connecting to Oracle in the Direct mode. | |
State | Gets the current state of the connection. | |
TrimFixedChar | Specifies whether to trim trailing spaces when reading data from fixed-length string data types (CHAR, NCHAR). | |
Unicode | Gets or sets a value indicating whether the UTF16 charset will be used. | |
UserId | Gets or sets the name of the user to connect. |
Name | Description | |
---|---|---|
BeginOpen | Starts an asynchronous invocation of an Open method. (Inherited from Devart.Common.DbConnectionBase) | |
BeginTransaction | Overloaded. Begins a transaction at the database. | |
ChangeDatabase | Changes the current schema associated with an open Devart.Common.DbConnectionBase. (Inherited from Devart.Common.DbConnectionBase) | |
ChangePassword | Overloaded. Changes the password for the userб specified in the connection. | |
ClearAllPools | Overloaded. Clears all pools associated with the connection. | |
ClearPool | Clears the pool matching ConnectionString of provided OracleConnection object. | |
Clone | Creates a new object that is a copy of the current instance. | |
Close | Overridden. Closes the connection to the database. This is the preferred method of closing any open connection. | |
Commit | Commits the database transaction. | |
CreateCommand | Overloaded. Creates and returns a OracleCommand object associated with the OracleConnection. | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject) | |
Dispose | Releases all resources used by the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component) | |
EndOpen | Ends an asynchronous invocation of the Open method. (Inherited from Devart.Common.DbConnectionBase) | |
EnlistTransaction | Enlists in the specified transaction. (Inherited from Devart.Common.DbConnectionBase) | |
GetAuditActionBanner | Used to return the contents of a banner that warns users about potential auditing of their actions. | |
GetDatabaseInfo | Overloaded. Gets OracleGlobalization settings for the current database. | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
GetLogicalTransactionStatus | Returns the status of the specified transaction. Requires Oracle 12c and works only in OCI mode. | |
GetNativeHandle | Gets a native handle for the OracleConnection. | |
GetSchema | Overloaded. Returns list of metadata collections and number of restrictions for a collection. (Inherited from Devart.Common.DbConnectionBase) | |
GetServerList | Overloaded. Returns an array of available TNS aliases. | |
GetSessionInfo | Overloaded. Populates an OracleGlobalization object with client side information. | |
GetUnauthorizedAccessBanner | Used to return the contents of a banner that warns users about unauthorized access to the database. | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
Open | Overloaded. Opens connection with Proxy Authentication mechanism. | |
Ping | Determines whether connection to Oracle server is valid. | |
PurgeStatementCache | Clears OCI statement cache for the connection. | |
Rollback | Rolls back a transaction from a pending state. | |
SetDbmsApplicationInfo | This method uses the DBMS_APPLICATION_INFO package to record the names of the module and action performed and the client information to Oracle database in order to ease tracking of the application actions, performance, and resource usage. | |
SetSessionInfo | Sets Oracle globalization settings for the current connection. | |
SetShardingKey | Overloaded. Specifies sharding key values for the connection to a sharded Oracle database. | |
ToString | Returns a System.String containing the name of the System.ComponentModel.Component, if any. This method should not be overridden. (Inherited from System.ComponentModel.Component) |
Name | Description | |
---|---|---|
Disposed | Occurs when the component is disposed by a call to the System.ComponentModel.Component.Dispose method. (Inherited from System.ComponentModel.Component) | |
Error | Occurs when Oracle returns an error message. | |
Failover | Occurs when Oracle Failover mechanism takes place. | |
HAEvent | Occurs when a HA event happens. | |
InfoMessage | Occurs when Oracle returns a warning or informational message. | |
StateChange | Occurs when the state of the connection changes. (Inherited from Devart.Common.DbConnectionBase) | |
TransactionStateChanged | Occurs when the state of the transaction is changed. (Inherited from Devart.Common.DbConnectionBase) | |
TransactionStateChanging | Occurs when the state of the transaction is changing. (Inherited from Devart.Common.DbConnectionBase) |