Class ReportLibraryConfig
Configuration for a report library connection: the database driver, connection
string and table/field mapping used to read and save report templates from a
database, including optional HttpAgent (remote agent) credentials.
Inheritance
ReportLibraryConfig
Assembly: Reportman.Reporting.dll
Syntax
public class ReportLibraryConfig
Constructors
View Source
ReportLibraryConfig()
Declaration
public ReportLibraryConfig()
Fields
View Source
CurrentConnection
Declaration
public DbConnection CurrentConnection
Field Value
Properties
View Source
ADOConnectionString
Declaration
public string ADOConnectionString { get; set; }
Property Value
View Source
Alias
Declaration
public string Alias { get; set; }
Property Value
View Source
AllowSorting
Declaration
public bool AllowSorting { get; set; }
Property Value
View Source
ApiKey
API Key for HttpAgent driver authentication (alternative to Bearer token)
Declaration
public string ApiKey { get; set; }
Property Value
View Source
Driver
Declaration
public DriverType Driver { get; set; }
Property Value
View Source
DriverIndex
Declaration
public int DriverIndex { get; set; }
Property Value
View Source
HttpAgentBaseUrl
Base URL for HttpAgent API (e.g., "https://api.reportman.es")
Declaration
public string HttpAgentBaseUrl { get; set; }
Property Value
View Source
HubDatabaseId
Hub Database Id for HttpAgent driver - identifies the database on the remote agent
Declaration
public long HubDatabaseId { get; set; }
Property Value
View Source
LoadDriverParams
Declaration
public bool LoadDriverParams { get; set; }
Property Value
View Source
LoadParams
Declaration
public bool LoadParams { get; set; }
Property Value
View Source
LoginPrompt
Declaration
public bool LoginPrompt { get; set; }
Property Value
View Source
ProviderName
Declaration
public string ProviderName { get; set; }
Property Value
View Source
ReportField
Declaration
public string ReportField { get; set; }
Property Value
View Source
ReportGroupsTable
Declaration
public string ReportGroupsTable { get; set; }
Property Value
View Source
ReportSearchField
Declaration
public string ReportSearchField { get; set; }
Property Value
View Source
ReportTable
Declaration
public string ReportTable { get; set; }
Property Value
View Source
Token
Bearer token for HttpAgent driver authentication (alternative to ApiKey)
Declaration
public string Token { get; set; }
Property Value
Methods
View Source
GetConfigFilename()
Declaration
public static string GetConfigFilename()
Returns
View Source
GetFactory()
Declaration
public DbProviderFactory GetFactory()
Returns
View Source
ReadReport(string)
Declaration
public MemoryStream ReadReport(string reportName)
Parameters
| Type |
Name |
Description |
| string |
reportName |
|
Returns
View Source
SaveReport(Report, string, StreamVersion)
Declaration
public MemoryStream SaveReport(Report nreport, string reportName, StreamVersion version)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides