Search Results for

    Show / Hide Table of Contents

    Interface IDatabaseClientBuilder

    Builds an implementation of a DAO interface whose methods are annotated with SqlQueryAttribute or SqlUpdateAttribute.

    Namespace: Activout.DatabaseClient
    Assembly: Activout.DatabaseClient.dll
    Syntax
    public interface IDatabaseClientBuilder

    Methods

    | Edit this page View Source

    Build<T>()

    Creates an implementation of the DAO interface T.

    Declaration
    T Build<T>() where T : class
    Returns
    Type Description
    T

    The DAO implementation.

    Type Parameters
    Name Description
    T

    The DAO interface.

    | Edit this page View Source

    With(IDatabaseGateway)

    Sets the gateway that executes the SQL.

    Declaration
    IDatabaseClientBuilder With(IDatabaseGateway gateway)
    Parameters
    Type Name Description
    IDatabaseGateway gateway

    The gateway, for example DapperGateway.

    Returns
    Type Description
    IDatabaseClientBuilder

    This builder.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX