Click or drag to resize

IDriver Methods

The IDriver type exposes the following members.

Methods
  NameDescription
Public methodAsyncSession
Obtain a session with the default SessionConfig.
Public methodAsyncSession(ActionSessionConfigBuilder)
Obtain a session with the customized SessionConfig.
Public methodCloseAsync
Asynchronously releases all resources (connection pools, connections, etc) associated with this IDriver instance.
Public methodDispose (Inherited from IDisposable.)
Public methodSupportsMultiDbAsync
Asynchronously verify if the driver connects to a server and/or cluster that can support multi-database feature.
Public methodVerifyConnectivityAsync
Asynchronously verify if the driver can connect to the remote server by establishing a network connection with the remote. If the driver fails to connect to the remote server, an error will be thrown, which can be used to further understand the cause of the connectivity issue. Note: Even if this method failed with an error, the driver still need to be closed via CloseAsync to free up all resources.
Top
Extension Methods
  NameDescription
Public Extension MethodRxSessionOverloaded.
Obtain a session which is designed to be used through System.Reactive with access mode Write.
(Defined by DriverExtensions.)
Public Extension MethodRxSession(ActionSessionConfigBuilder)Overloaded.
Obtain a session which is designed to be used through System.Reactive with the specified access mode.
(Defined by DriverExtensions.)
Public Extension MethodSessionOverloaded.
Obtain a session which is designed to be used synchronously, which is built on top of the default asynchronous IAsyncSession with default SessionConfig.
(Defined by DriverExtensions.)
Public Extension MethodSession(ActionSessionConfigBuilder)Overloaded.
Obtain a session which is designed to be used synchronously, which is built on top of the default asynchronous IAsyncSession with the customized SessionConfig.
(Defined by DriverExtensions.)
Top
See Also