combit List & Label 30 - .NET Help
combit.Reporting.DataProviders Namespace / ICanHandleUsedRelations Interface

In This Topic
ICanHandleUsedRelations Interface Methods
In This Topic

For a list of all members of this type, see ICanHandleUsedRelations members.

Public Methods
 NameDescription
 MethodThis method is called by List & Label to set the relations used in a project that is about to be printed. You may cache this information in your own data provider in order to e.g. optimize your queries.  
 Method

This function is used to mark relations as pure 1:n relations. By default, all relations whose ITableRow interface returns "true" for SupportsGetParentRow are displayed in the tree as 1:1 nodes within the corresponding tables. As an example you can see this in the provided sample application with its Northwind data source for the relation "Customers" below the table "Orders":

But if there are (some) relations for which this should not be the case, because they cannot be resolved backwards by the data source, this can be intercepted in this function.

 
Top
See Also