Search Results for

    Show / Hide Table of Contents

    TLinqDataTable<T>.TLinqDataTable Constructor

    Overloads

    • TLinqDataTable<T>.TLinqDataTable(String, VirtualDataTable, IQueryable<T>)
    • TLinqDataTable<T>.TLinqDataTable(String, VirtualDataTable, IQueryable<T>, TLinqDataTable<T>, String[])

    TLinqDataTable<T>.TLinqDataTable(String, VirtualDataTable, IQueryable<T>)

    Creates a new table with "tablename" name and a source data. Data can't be null when using this constructor.

    Syntax

    Namespace: FlexCel.Report

    protected TLinqDataTable(String aTableName, VirtualDataTable aCreatedBy, IQueryable<T> aData)

    Parameters

    <-> Parameter Type Description
    aTableName String Name of the table that will be created.
    aCreatedBy VirtualDataTable Table that created this table (via a filter, distinct, etc), or null if this table wasn't created from another VirtualDataTable.
    aData IQueryable<T> Data. Can't be null in this particular constructor.

    See also

    • TLinqDataTable

    TLinqDataTable<T>.TLinqDataTable(String, VirtualDataTable, IQueryable<T>, TLinqDataTable<T>, String[])

    This constructor is used to create a nested detail table. Data might be null when calling this constructor when it will be read from the master table every time the master record changes. IMPORTANT: When creating a descendant of this class, you always need to provide this constructor as it will be called automatically when creating filtered of detail tables.

    Syntax

    Namespace: FlexCel.Report

    protected TLinqDataTable(String aTableName, VirtualDataTable aCreatedBy, IQueryable<T> aData, TLinqDataTable<T> aOrigTable, String[] aFilters)

    Parameters

    <-> Parameter Type Description
    aTableName String Name for the new table.
    aCreatedBy VirtualDataTable Table that created this table (via a filter, distinct, etc), or null if this table wasn't created from another VirtualDataTable.
    aData IQueryable<T> Data for the table. Might be null if in a master-detail relationship.
    aOrigTable TLinqDataTable<T> Real table from where the data comes. We will use this to find the relationships.
    aFilters String[] A string with all the filters that need to be applied to this table.

    See also

    • TLinqDataTable
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com