Search Results for

    Show / Hide Table of Contents

    Class DatabaseConnectionProvider

    Opens a connection to a database

    Inheritance
    Object
    DatabaseConnectionProvider
    Implements
    IDatabaseConnectionProvider
    Namespace: Gossip.Connection
    Assembly: Gossip.dll
    Syntax
    public class DatabaseConnectionProvider : object, IDatabaseConnectionProvider

    Methods

    | Improve this Doc View Source

    OpenAsync()

    Opens an async connection to a database.

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

    IDatabaseConnection

    | Improve this Doc View Source

    OpenAsync(CancellationToken)

    Opens an async connection to a database.

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

    Cancellation token

    Returns
    Type Description
    Task<IDatabaseConnection>

    IDatabaseConnection

    Implements

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