The SalSqlSessionHandle type exposes the following members.
Methods
Name | Description | |
---|---|---|
Commit()()()() |
Commits the current transaction associated with the specified session.
| |
Commit(WhenSqlErrorHandler) |
Commits the current transaction associated with the specified session.
| |
Create(String) |
Creates a new session.
| |
Create(String, WhenSqlErrorHandler) |
Creates a new session.
| |
CreateStatement |
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.
| |
Equals |
Overrides the Object.Equals() method.
(Overrides ValueType..::..Equals(Object).) | |
Free()()()() |
Frees the session.
| |
Free(WhenSqlErrorHandler) |
Frees the session.
| |
FromHandle |
Returns the SalSqlSessionHandle object from the handle
| |
GetErrorInfo |
Returns the error information associated with the specified session.
| |
GetHashCode |
Overrides the Object.GetHashCode() method
(Overrides ValueType..::..GetHashCode()()()().) | |
GetObjectData | ||
GetParameter |
Return the value of the specified session property.
| |
Rollback()()()() |
Rolls back the current transaction associated with the specified session.
| |
Rollback(WhenSqlErrorHandler) |
Rolls back the current transaction associated with the specified session.
| |
SetParameter |
Sets the value of the specified session property.
|
Operators
Name | Description | |
---|---|---|
Equality(SalSqlSessionHandle, SalWindowHandle) |
== operator for comparing a SalSqlSessionHandle to a SalWindowHandle
| |
Equality(SalSqlSessionHandle, SalSqlSessionHandle) |
== operator for comparing two SalSqlSessionHandle objects
| |
Equality(SalWindowHandle, SalSqlSessionHandle) |
== operator for comparing a SalSqlSessionHandle to a SalWindowHandle
| |
ExplicitNarrowingExplicitExplicitExplicit(SalSqlSessionHandle to SalWindowHandle) |
Automatic casting from SalSqlSessionHandle to SalWindowHandle.
| |
ExplicitNarrowingExplicitExplicitExplicit(SalWindowHandle to SalSqlSessionHandle) |
Automatic casting from int to SalSqlSessionHandle.
| |
False |
logical FALSE operator for boolean expressions
| |
ImplicitWideningImplicitImplicitImplicit(SalSqlSessionHandle to Boolean) |
Automatic casting from SalSqlSessionHandle to boolean
| |
ImplicitWideningImplicitImplicitImplicit(SalSqlSessionHandle to SalBoolean) |
Automatic casting from SalSqlSessionHandle to SalBoolean
| |
Inequality(SalSqlSessionHandle, SalWindowHandle) |
!= operator for comparing a SalSqlSessionHandle to a SalWindowHandle
| |
Inequality(SalSqlSessionHandle, SalSqlSessionHandle) |
!= operator for comparing two SalSqlSessionHandle objects
| |
Inequality(SalWindowHandle, SalSqlSessionHandle) |
!= operator for comparing a SalSqlSessionHandle to a SalWindowHandle
| |
LogicalNot |
! boolean NOT operator
| |
True |
logical TRUE operator for boolean expressions
|
Fields
Name | Description | |
---|---|---|
Null |
Properties
Name | Description | |
---|---|---|
Connection |
Returns the connection object
| |
Handle |
Returns the handle for this SalSqlSessionHandle object
| |
IsNull |
Checks if this SalSqlSessionHandle object contains a null db connection.
| |
LastError |
Returns the last error occurred.
| |
LastErrorCode |
Returns the last error code.
| |
LastErrorMessage |
Returns the last error message.
| |
LastErrorPosition |
Returns the last error position.
| |
Properties |
Returns the properties associated with the connection.
|