Search Results for

    Show / Hide Table of Contents

    Class KeyValueReport

    Key value report (Storing it's won sql, get's filled over parameter)

    Inheritance
    System.Object
    KeyValueReport
    Implements
    IReport
    IPrintable
    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.Reporting
    Assembly: Simplic.Reporting.dll
    Syntax
    public class KeyValueReport : IReport, IPrintable

    Constructors

    | Improve this Doc View Source

    KeyValueReport()

    Create a new SqlReport and initialize all important things

    Declaration
    public KeyValueReport()

    Properties

    | Improve this Doc View Source

    Configuration

    Gets the report configuration

    Declaration
    public IReportConfiguration Configuration { get; }
    Property Value
    Type Description
    IReportConfiguration
    | Improve this Doc View Source

    Report

    Instance of the current report

    Declaration
    public Telerik.Reporting.Report Report { get; }
    Property Value
    Type Description
    Telerik.Reporting.Report
    | Improve this Doc View Source

    ReportSource

    Get the current report source. Currently this is always an XmlReportSource

    Declaration
    public ReportSource ReportSource { get; }
    Property Value
    Type Description
    ReportSource

    Methods

    | Improve this Doc View Source

    Fill<T>(T)

    Create a report source and fill it

    Declaration
    public void Fill<T>(T obj)
    Parameters
    Type Name Description
    T obj

    Instance of an SqlDataSourceModel

    Type Parameters
    Name Description
    T

    Type of the report source. Default should be SqlDataSource

    | Improve this Doc View Source

    Fill<T>(IList<T>)

    Fill with list of objects. Currently not supported for KeyValueReports

    Declaration
    public void Fill<T>(IList<T> list)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<T> list

    List of objects

    Type Parameters
    Name Description
    T

    Type

    | Improve this Doc View Source

    Load(IReportConfiguration)

    Load report as stream. Currently only Telerik Xml Reports are supported

    Declaration
    public void Load(IReportConfiguration configuration)
    Parameters
    Type Name Description
    IReportConfiguration configuration

    Fill report with configuration information

    | Improve this Doc View Source

    Print(PrinterDevice)

    Print the current report

    Declaration
    public void Print(PrinterDevice device)
    Parameters
    Type Name Description
    PrinterDevice device

    Device which should be used for printing

    | Improve this Doc View Source

    RenderReport(ReportRenderFormat)

    Render the currently loaded report in a specific format

    Declaration
    public Stream RenderReport(ReportRenderFormat format)
    Parameters
    Type Name Description
    ReportRenderFormat format

    Output format

    Returns
    Type Description
    System.IO.Stream

    Stream containing the rendered report

    Implements

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