Interface ICrossProviderTableRelation
- Namespace
- combit.Reporting.DataProviders
- Assembly
- combit.ListLabel31.CrossPlatform.dll
Defines members for a cross-provider table relation used to join tables across different data providers.
public interface ICrossProviderTableRelation : ITableRelation
- Inherited Members
Properties
ChildTableProvider
Gets the data provider for the child table.
IDataProvider ChildTableProvider { get; }
Property Value
ParentTableProvider
Gets the data provider for the parent table. This is used to serialize cross relations for the Web Designer.
IDataProvider ParentTableProvider { get; }
Property Value
SupportsGetParentRow
Gets a value indicating whether it is possible to resolve a 1:1 relation from the child table to the parent table. This is only possible when the parent table supports filtering.
bool SupportsGetParentRow { get; }
Property Value
Methods
InvalidateColumnsLayoutCache(string)
Notifies the relation that the table row layouts have changed. This invalidates the cached indexes of the columns in Columns used for performing a join.
void InvalidateColumnsLayoutCache(string tableName)
Parameters
tableNamestringThe name of the table whose column layout has changed.
Matches1to1Identifier(string)
Returns true if the first part of the given identifier corresponds to this relation (when viewed as a 1:1 relation from child to parent).
bool Matches1to1Identifier(string identifier)
Parameters
identifierstringThe identifier to check.
Returns
- bool
trueif the identifier matches this relation; otherwise,false.
ResolveChildTable(ITableRow)
With this relation considered as a 1:n relation, opens a child table for the specified row of the parent table.
ITable ResolveChildTable(ITableRow parentRow)
Parameters
parentRowITableRowThe row from the parent table.
Returns
- ITable
The child table associated with the specified parent row.
ResolveParentRow(ITableRow)
With this relation considered as a 1:1 relation, returns the parent row for the specified row of the child table.
This operation is supported only if SupportsGetParentRow is true.
ITableRow ResolveParentRow(ITableRow childRow)
Parameters
childRowITableRowThe row from the child table.
Returns
- ITableRow
The parent row corresponding to the specified child row.