The SalSqlSessionHandle type exposes the following members.

Methods

  NameDescription
Public methodCommit()()()()
Commits the current transaction associated with the specified session.
Public methodCommit(WhenSqlErrorHandler)
Commits the current transaction associated with the specified session.
Public methodCreate(String)
Creates a new session.
Public methodCreate(String, WhenSqlErrorHandler)
Creates a new session.
Public methodCreateStatement
This call creates a new statement belonging to the specified session. The Sql Handle parameter specified here is the same as what the current SqlConnect call returns. There can be any number of statements within a session; there is no limit on this number. This call returns a statement handle if the call was successful. To free a statement, the existing SqlDisconnect call needs to be used.
Public methodEquals
Overrides the Object.Equals() method.
(Overrides ValueType..::..Equals(Object).)
Public methodFree()()()()
Frees the session.
Public methodFree(WhenSqlErrorHandler)
Frees the session.
Public methodStatic memberFromHandle
Returns the SalSqlSessionHandle object from the handle
Public methodGetErrorInfo
Returns the error information associated with the specified session.
Public methodGetHashCode
Overrides the Object.GetHashCode() method
(Overrides ValueType..::..GetHashCode()()()().)
Public methodGetObjectData
Public methodGetParameter
Return the value of the specified session property.
Public methodRollback()()()()
Rolls back the current transaction associated with the specified session.
Public methodRollback(WhenSqlErrorHandler)
Rolls back the current transaction associated with the specified session.
Public methodSetParameter
Sets the value of the specified session property.

Operators

  NameDescription
Public operatorStatic memberEquality(SalSqlSessionHandle, SalWindowHandle)
== operator for comparing a SalSqlSessionHandle to a SalWindowHandle
Public operatorStatic memberEquality(SalSqlSessionHandle, SalSqlSessionHandle)
== operator for comparing two SalSqlSessionHandle objects
Public operatorStatic memberEquality(SalWindowHandle, SalSqlSessionHandle)
== operator for comparing a SalSqlSessionHandle to a SalWindowHandle
Public operatorStatic memberExplicitNarrowingExplicitExplicitExplicit(SalSqlSessionHandle to SalWindowHandle)
Automatic casting from SalSqlSessionHandle to SalWindowHandle.
Public operatorStatic memberExplicitNarrowingExplicitExplicitExplicit(SalWindowHandle to SalSqlSessionHandle)
Automatic casting from int to SalSqlSessionHandle.
Public operatorStatic memberFalse
logical FALSE operator for boolean expressions
Public operatorStatic memberImplicitWideningImplicitImplicitImplicit(SalSqlSessionHandle to Boolean)
Automatic casting from SalSqlSessionHandle to boolean
Public operatorStatic memberImplicitWideningImplicitImplicitImplicit(SalSqlSessionHandle to SalBoolean)
Automatic casting from SalSqlSessionHandle to SalBoolean
Public operatorStatic memberInequality(SalSqlSessionHandle, SalWindowHandle)
!= operator for comparing a SalSqlSessionHandle to a SalWindowHandle
Public operatorStatic memberInequality(SalSqlSessionHandle, SalSqlSessionHandle)
!= operator for comparing two SalSqlSessionHandle objects
Public operatorStatic memberInequality(SalWindowHandle, SalSqlSessionHandle)
!= operator for comparing a SalSqlSessionHandle to a SalWindowHandle
Public operatorStatic memberLogicalNot
! boolean NOT operator
Public operatorStatic memberTrue
logical TRUE operator for boolean expressions

Fields

  NameDescription
Public fieldStatic memberNull

Properties

  NameDescription
Public propertyConnection
Returns the connection object
Public propertyHandle
Returns the handle for this SalSqlSessionHandle object
Public propertyIsNull
Checks if this SalSqlSessionHandle object contains a null db connection.
Public propertyLastError
Returns the last error occurred.
Public propertyLastErrorCode
Returns the last error code.
Public propertyLastErrorMessage
Returns the last error message.
Public propertyLastErrorPosition
Returns the last error position.
Public propertyProperties
Returns the properties associated with the connection.

See Also