Search Results for

    Show / Hide Table of Contents

    Class DataInfo

    DatabaInfo stores information about a dataset, a Report have a collection of dataset definitions. Each dataset is related to one connection (DatabaseInfo)ReportDataInfos

    Inheritance
    object
    ReportItem
    DataInfo
    Implements
    IDisposable
    ICloneable
    Inherited Members
    ReportItem.SetReport(BaseReport)
    ReportItem.Name
    ReportItem.Report
    ReportItem.ClassName
    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 DataInfo : ReportItem, IDisposable, ICloneable

    Constructors

    View Source

    DataInfo()

    Constructor

    Declaration
    public DataInfo()

    Fields

    View Source

    Command

    Current IDbCommand

    Declaration
    public IDbCommand Command
    Field Value
    Type Description
    IDbCommand
    View Source

    Data

    Current in memory two record buffer table

    Declaration
    public ReportDataset Data
    Field Value
    Type Description
    ReportDataset
    View Source

    DataReader

    Current IDataReader

    Declaration
    public IDataReader DataReader
    Field Value
    Type Description
    IDataReader
    View Source

    DataViewOverride

    Declaration
    public DataView DataViewOverride
    Field Value
    Type Description
    DataView
    View Source

    SQLOverride

    Set this property to override the sql sentence at runtime, set is before executing the report

    Declaration
    public string SQLOverride
    Field Value
    Type Description
    string

    Properties

    View Source

    Alias

    DataInfo name (alias)

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

    BDEFilter

    BDE filter BDE driver is selected

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

    BDEFirstRange

    BDE first range filter BDE driver is selected

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

    BDEIndexFields

    Index fields when BDE driver is selected

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

    BDEIndexName

    Index name when BDE driver is selected

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

    BDELastRange

    BDE last range filter BDE driver is selected

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

    BDEMasterFields

    BDE master fields BDE driver is selected

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

    BDETable

    Index table name when BDE driver is selected and BDEType is Table

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

    BDEType

    BDE dataset type (table,query) when BDE driver is selected

    Declaration
    public DatasetType BDEType { get; set; }
    Property Value
    Type Description
    DatasetType
    View Source

    DataSource

    A master dataset can be assigned so the query is executed each time the parameters of the query change, the parameters with the same name as master dataset fields will be checked

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

    DataUnions

    When Mybase driver is selected, you can fill the dataset (in memory dataset) with other datasets

    Declaration
    public Strings DataUnions { get; set; }
    Property Value
    Type Description
    Strings
    View Source

    DatabaseAlias

    DatabaseInfo alias related to this dataset

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

    GroupUnion

    When Mybase driver is selected, you can fill the dataset (in memory dataset) with other datasets, with grouping option

    Declaration
    public bool GroupUnion { get; set; }
    Property Value
    Type Description
    bool
    View Source

    HubSchemaId

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

    MyBaseFields

    Field definition file when Mybase driver is selected

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

    MyBaseFilename

    Filename to loadwhen MyBase driver is selected

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

    MyBaseIndexFields

    Index fields when MyBase driver is selected

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

    MyBaseMasterFields

    Master fields when MyBase driver is selected

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

    OpenOnStart

    By default all datasets are open on start, set this property to false when you want to open the dataset at runtime manually

    Declaration
    public bool OpenOnStart { get; set; }
    Property Value
    Type Description
    bool
    View Source

    ParallelUnion

    When Mybase driver is selected, and union is performed,

    Declaration
    public bool ParallelUnion { get; set; }
    Property Value
    Type Description
    bool
    View Source

    SQL

    Sql sentence, for parameters precede them by double quotes in native drivers or by @ symbol in .Net drivers

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

    SQLExplanation

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

    SQLExplanationError

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

    Methods

    View Source

    Clone()

    Clone the DataInfo item

    Declaration
    public object Clone()
    Returns
    Type Description
    object

    A new DataInfo item

    View Source

    Clone(Report)

    Clone the DataInfo item

    Declaration
    public DataInfo Clone(Report areport)
    Parameters
    Type Name Description
    Report areport

    The new owner of the DataInfo

    Returns
    Type Description
    DataInfo

    A new DataInfo item

    View Source

    Connect()

    Open the dataset and read the first record into the data variable

    Declaration
    public void Connect()
    View Source

    DisConnect()

    Close the dataset, and free the datareader

    Declaration
    public void DisConnect()
    View Source

    DisConnectMem()

    Declaration
    public void DisConnectMem()
    View Source

    Dispose()

    Free resources

    Declaration
    public override void Dispose()
    Overrides
    ReportItem.Dispose()
    View Source

    GetClassName()

    Internal function to determine the object type name

    Declaration
    protected override string GetClassName()
    Returns
    Type Description
    string

    Object type name

    Overrides
    ReportItem.GetClassName()
    View Source

    GetDbItem()

    Obtain the related DatabaseInfoItem, searching by DatabaseAlias

    Declaration
    public DatabaseInfo GetDbItem()
    Returns
    Type Description
    DatabaseInfo

    The DatabaseInfo or throws an exception

    View Source

    GetFieldsInfo(Stream)

    Obtain field information from the dataset, useful for the designer

    Declaration
    public void GetFieldsInfo(Stream astream)
    Parameters
    Type Name Description
    Stream astream

    Stream to fill with the information

    View Source

    GoFirstMem()

    Declaration
    public void GoFirstMem()
    View Source

    UpdateParams(ReportDataset, IDbCommand)

    Update the parameters inside the command, the master dataset will be used to fill the parameters with matching names

    Declaration
    public bool UpdateParams(ReportDataset master, IDbCommand ncommand)
    Parameters
    Type Name Description
    ReportDataset master

    Master dataset

    IDbCommand ncommand

    Command

    Returns
    Type Description
    bool

    Implements

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