Click or drag to resize

SessionConfigBuilder Class

The builder to build a SessionConfig.
Inheritance Hierarchy

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.4
public sealed class SessionConfigBuilder

The SessionConfigBuilder type exposes the following members.

Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodStatic memberForDatabase
Returns an action on SessionConfigBuilder which will set the database name to the value specified.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWithBookmarks
Sets the initial bookmarks to be used by the constructed session.
Public methodWithDatabase
Sets the database the constructed session will connect to.
Public methodWithDefaultAccessMode
Sets the type of access required by the constructed session.
Public methodWithFetchSize
Sets the default fetch size. Since Bolt v4 (Neo4j 4.0+), the query running result (records) are pulled from server in batches. This fetch size defines how many records to pull in each batch. Use Infinite to disable batching and always pull all records in one batch instead.
Public methodWithImpersonatedUser
Allows the specification of a username that the user wants to impersonate for the duration of the session. Once set this cannot be changed for the duration of the sessions liftime.
Extension Methods
See Also