分享

SAConnection

 322yangxinxing 2012-02-15
Home How To Online Documentation Support Download Order

 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric
SAInterval

Enums and Typedefs


Usage

Examples

SAConnection

Construction / Destruction

SAConnection Constructs a SAConnection object
~SAConnection Destructs a SAConnection object

Methods

setClient Sets an DBMS client to the current SAConnection object
Client Gets the current DBMS client associated with the SAConnection object
ClientVersion Gets the DBMS client API  version number.
ServerVersion Gets the DBMS server version number.
ServerVersionString Gets the DBMS server version string.

isConnected Returns the connection state.
Connect Connects to the database.
Disconnect Disconnects the connection.
isAlive Checks the database server status.
Destroy
Destroys a broken connection.
Reset
Clears all DBMS related handles and sturctures but doesn't destroy them.

setIsolationLevel Sets the transaction isolation level. 
IsolationLevel Gets the transaction isolation level.
setAutoCommit Sets connection to be committed automatically. 
AutoCommit Gets whether the connection is committed automatically.
Commit Commits transactions. 
Rollback Roll's back to last commit 

setOption Sets a string value of a specific connection or command option
Option Gets a string value of a specific connection or command option

NativeAPI Gets native DBMS client API. 
NativeHandles Gets native DBMS client connection related handle(s)

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多