Exago .NET API Documentation
JoinCollection Class
Members  Example 
WebReports.Api.Common Namespace : JoinCollection Class
A collection of Joins in the configuration. Do not instantiate this collection, instead access it via the Joins Property of the Api Class.
Syntax
public class JoinCollection : WebReports.Api.Common.ConfigCollection<Join> 
Remarks

Collection classes are enumerable Lists of a specific object type.

See the Example section for ways to iterate through and manipulate Collections.

Example
Add a new join to the configuration
Join newJoin = new Join()
{
	EntityFromName = fromEntity.Name,
	EntityToName = toEntity.Name,
	Type = JoinType.LeftOuter,
	RelationType = 1,
	Weight = 0
};

newJoin.JoinColumns.Add(new JoinColumn(new KeyColumn(fromEntity.Name, fromEntity.GetColumn("ID").Name), new KeyColumn(toEntity.Name, toEntity.GetColumn("Campaign").Name)));

api.Joins.Add(newJoin);
Inheritance Hierarchy

System.Object
      WebReports.Api.Common.JoinCollection

See Also

Reference

JoinCollection Members
WebReports.Api.Common Namespace