Search Results for

    Show / Hide Table of Contents

    Interface IDatabaseConnectionProvider

    Opens a connection to a database

    Namespace: Gossip.Connection
    Assembly: Gossip.dll
    Syntax
    public interface IDatabaseConnectionProvider

    Methods

    | Improve this Doc View Source

    OpenAsync()

    Opens an async connection to a database.

    Declaration
    Task<IDatabaseConnection> OpenAsync()
    Returns
    Type Description
    Task<IDatabaseConnection>

    IDatabaseConnection

    | Improve this Doc View Source

    OpenAsync(CancellationToken)

    Opens an async connection to a database.

    Declaration
    Task<IDatabaseConnection> OpenAsync(CancellationToken cancellationToken)
    Parameters
    Type Name Description
    CancellationToken cancellationToken

    Cancellation token

    Returns
    Type Description
    Task<IDatabaseConnection>

    IDatabaseConnection

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX