Search Results for

    Show / Hide Table of Contents

    Class HttpAgentExecutor

    Executes SQL commands via HTTP Agent API. Implements IDbCommandExecuter to integrate with the reporting engine.

    Inheritance
    object
    HttpAgentExecutor
    Implements
    IDbCommandExecuter
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Reporting
    Assembly: Reportman.Reporting.dll
    Syntax
    public class HttpAgentExecutor : IDbCommandExecuter

    Constructors

    View Source

    HttpAgentExecutor()

    Declaration
    public HttpAgentExecutor()
    View Source

    HttpAgentExecutor(string, string, long)

    Declaration
    public HttpAgentExecutor(string baseUrl, string apiKey, long hubDatabaseId)
    Parameters
    Type Name Description
    string baseUrl
    string apiKey
    long hubDatabaseId

    Properties

    View Source

    ApiKey

    API Key for authentication (alternative to Token)

    Declaration
    public string ApiKey { get; set; }
    Property Value
    Type Description
    string
    View Source

    BaseUrl

    Base URL for the API (e.g., "https://api.reportman.es")

    Declaration
    public string BaseUrl { get; set; }
    Property Value
    Type Description
    string
    View Source

    HubDatabaseId

    Hub Database Id - identifies the database on the remote agent

    Declaration
    public long HubDatabaseId { get; set; }
    Property Value
    Type Description
    long
    View Source

    Token

    Bearer token for authentication (alternative to ApiKey)

    Declaration
    public string Token { get; set; }
    Property Value
    Type Description
    string

    Methods

    View Source

    CreateCommand()

    Creates a new HttpAgentCommand for building SQL queries.

    Declaration
    public IDbCommand CreateCommand()
    Returns
    Type Description
    IDbCommand
    View Source

    Open(IDbCommand)

    Executes the command and returns the result as a DataTable.

    Declaration
    public DataTable Open(IDbCommand ncommand)
    Parameters
    Type Name Description
    IDbCommand ncommand
    Returns
    Type Description
    DataTable

    Implements

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