Search Results for

    Show / Hide Table of Contents

    Class DefaultReportConfigurationProvider

    Provider to save and load reporting configuration

    Inheritance
    System.Object
    DefaultReportConfigurationProvider
    Implements
    IReportConfigurationProvider
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.Framework.Reporting
    Assembly: Simplic.Framework.dll
    Syntax
    public class DefaultReportConfigurationProvider : IReportConfigurationProvider

    Fields

    | Improve this Doc View Source

    REPORT_REPOSITORY_PATH

    Default path for reports

    Declaration
    public const string REPORT_REPOSITORY_PATH = "/built-in/Reports/"
    Field Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    DeleteReport(Guid)

    Delete report by it's unique id

    Declaration
    public void DeleteReport(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique id of the report

    | Improve this Doc View Source

    GetConfiguration<T>(Guid)

    Get configuration by the unique report id

    Declaration
    public T GetConfiguration<T>(Guid id)
        where T : IReportConfiguration
    Parameters
    Type Name Description
    System.Guid id

    Unique id of the report

    Returns
    Type Description
    T

    If found, instance of the specific report configuration

    Type Parameters
    Name Description
    T

    IReportConfiguration interface

    | Improve this Doc View Source

    GetReportFile(String)

    Get the report binary by it's unique report name

    Declaration
    public byte[] GetReportFile(string name)
    Parameters
    Type Name Description
    System.String name

    Unique name of the report

    Returns
    Type Description
    System.Byte[]

    Report binaries (e.g. content of trdx)

    | Improve this Doc View Source

    GetReportId(String)

    Get the id of a report by the unique report name

    Declaration
    public Guid GetReportId(string name)
    Parameters
    Type Name Description
    System.String name

    Unique string(name) of the report

    Returns
    Type Description
    System.Guid

    Id of the report, if not found: Empty guid

    | Improve this Doc View Source

    GetReportName(Guid)

    Get the name of a report by the unique report id

    Declaration
    public string GetReportName(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique Guid(id) of the report

    Returns
    Type Description
    System.String

    Name of the report, if not found: null

    | Improve this Doc View Source

    GetReportType(Guid)

    Get the type of a report

    Declaration
    public ReportType GetReportType(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique id of the report

    Returns
    Type Description
    ReportType

    Type of the report (Sql, KeyValue, ...)

    | Improve this Doc View Source

    ResolveConnectionString(String)

    Resolve a conenction string over the Simplic-DAL system

    Declaration
    public string ResolveConnectionString(string nameString)
    Parameters
    Type Name Description
    System.String nameString

    Name or connection string

    Returns
    Type Description
    System.String

    Valid and complete connection string

    | Improve this Doc View Source

    SaveConfiguration<T>(T)

    Save report configuration changes

    Declaration
    public void SaveConfiguration<T>(T configuration)
        where T : IReportConfiguration
    Parameters
    Type Name Description
    T configuration

    Instance of the configuration model

    Type Parameters
    Name Description
    T

    IReportConfiguration interface

    | Improve this Doc View Source

    SaveReportFile(String, Byte[])

    Save the report binary by it's unique report name

    Declaration
    public void SaveReportFile(string name, byte[] report)
    Parameters
    Type Name Description
    System.String name

    Unique name of the report

    System.Byte[] report

    Report binaries (e.g. content of trdx)

    Implements

    IReportConfigurationProvider
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx