Table of Contents

TVirtualDataTable.GetRelationWith Method

Override this method if the datatable has intrinsic relationships that you want to use. For example DataSets have DataRelationships, or Entity Framework tables are related as properties from the master to the detail. All those relationships that are not explicitly defined in the report should be returned here.

Syntax

Unit: FlexCel.Report

function TVirtualDataTable.GetRelationWith(const aDetail: TVirtualDataTable): TRelation; virtual;

Parameters

<-> Parameter Type Description
const aDetail TVirtualDataTable Detail table from where we want to get the relationship.

See also