Partilhar via


OciConnection Class

Definition

The OciConnection class establishes a database connection that uses Oci (Oracle Call Interface).

public ref class OciConnection : Dynamics::AX::Application::Connection
[Microsoft.Dynamics.Ax.Xpp.KernelClass]
public class OciConnection : Dynamics.AX.Application.Connection
[<Microsoft.Dynamics.Ax.Xpp.KernelClass>]
type OciConnection = class
    inherit Connection
Public Class OciConnection
Inherits Connection
Inheritance
Microsoft.Dynamics.AX.KernelInterop.ProxyBase
OciConnection
Attributes

Remarks

In the context of an OciConnection instance, SQL statements are run, and results are returned. If the connection cannot be established based on the information that is specified for the LoginProperty instance, an exception is thrown, and the reason is posted in the Infolog. This class can be used only when Oracle client software is installed.

Constructors

OciConnection()
OciConnection(IntPtr)
OciConnection(LoginProperty)

Fields

kernelClass (Inherited from XppObjectBase)

Methods

__shouldCallNew(Type)
addXppProxyReference(Type, Object) (Inherited from XppObjectBase)
Call(String, Object[], Type[], Object[]) (Inherited from XppObjectBase)
cancelTimeOut(Int32) (Inherited from XppObjectBase)
createKernelClass(Object[], Type[], Object[]) (Inherited from XppObjectBase)
createStatement()

Creates a Statement object that is used to execute an SQL statement.

(Inherited from Connection)
createStatement(ResultSetType, ResultSetConcurrency) (Inherited from Connection)
createStatement(ResultSetType) (Inherited from Connection)
equal(XppObjectBase) (Inherited from XppObjectBase)
finalize() (Inherited from Connection)
GetIntPtr()
GetKernelInstanceUniqueId() (Inherited from XppObjectBase)
getTimeOutTimerHandle() (Inherited from XppObjectBase)
getXppProxyReference(Type) (Inherited from XppObjectBase)
handle()
isInTransactionScope() (Inherited from Connection)
IsManagedValid()
kernelhandle()
KernelInstanceDisposed() (Inherited from XppObjectBase)
MakeReflectionCall(String, Object[]) (Inherited from XppObjectBase)
newmethod()

Initializes a new instance of the Connection class.

(Inherited from Connection)
newmethod(LoginProperty)

Establishes a connection to an Oracle database, based on logon properties such as the user name and password.

notify() (Inherited from XppObjectBase)
notifyAll() (Inherited from XppObjectBase)
objectOnServer()
Obsolete.
(Inherited from XppObjectBase)
odbcGetInfoInt(Int32)

Provides an interface to the SQLGetInfo Open Database Connectivity (ODBC) function to retrieve information about the ODBC driver and data source that are associated with a connection.

(Inherited from Connection)
odbcGetInfoLong(Int32)

Provides an interface to the SQLGetInfo ODBC function to retrieve information about the ODBC driver and data source that are associated with a connection.

(Inherited from Connection)
odbcGetInfoStr(Int32)

Provides an interface to the SQLGetInfo ODBC function to retrieve information, in string format, about the ODBC driver and data source that are associated with a connection.

(Inherited from Connection)
setTimeOut(String, Int32, Boolean)
Obsolete.
(Inherited from XppObjectBase)
setTimeOut(String, Int32)
Obsolete.
(Inherited from XppObjectBase)
ToString()

Converts the Connection object to a string.

(Inherited from Connection)
transactionScopeAbort() (Inherited from Connection)
transactionScopeBegin() (Inherited from Connection)
transactionScopeCommit() (Inherited from Connection)
ttsabort()

Discards changes that are associated with a transaction and rolls the database back to the original state.

(Inherited from Connection)
ttsbegin()

Begins a transaction.

(Inherited from Connection)
ttscommit()

Commits the changes that are associated with a transaction to the database.

(Inherited from Connection)
ttsLevel()

Returns the number for the last call to the ttsbegin method that is used to begin a transaction.

(Inherited from Connection)
ttsNotifyAbort()

Is called when an exception is thrown.

(Inherited from Connection)
ttsNotifyBegin() (Inherited from Connection)
ttsNotifyCommit()

Is called when the ttscommit method is called.

(Inherited from Connection)
usageCount() (Inherited from XppObjectBase)
VerifyKernelClass() (Inherited from XppObjectBase)
wait() (Inherited from XppObjectBase)
Xml() (Inherited from XppObjectBase)
Xml(Int32) (Inherited from XppObjectBase)

Applies to