Exago .NET API Documentation
KeyColumn Constructor(String,String,JoinExpressionType)
Example 
WebReports.Api.Reports Namespace > KeyColumn Class > KeyColumn Constructor : KeyColumn Constructor(String,String,JoinExpressionType)
The Alias of the Entity (Data Object) that contains the column.
The Alias of the column in entityName .
Defaults to JoinExpressionType.Column.

Create a new KeyColumn object referencing the provided Entity's (Data Object's) Alias (Name Property) and the Alias of the column from that Entity (Data Object).

Syntax
public KeyColumn( 
   System.string entityName,
   System.string keyName,
   JoinExpressionType expressionType
)

Parameters

entityName
The Alias of the Entity (Data Object) that contains the column.
keyName
The Alias of the column in entityName .
expressionType
Defaults to JoinExpressionType.Column.
Example
Add two KeyColumn objects to a JoinColumn object in the process of constructing a new join in the configuration. This constructor is used for instantiating both of the KeyColumn objects.
newJoin.JoinColumns.Add(new JoinColumn(new KeyColumn(fromEntity.Name, fromEntity.GetColumn("ID").Name), new KeyColumn(toEntity.Name, toEntity.GetColumn("Campaign").Name)));
See Also

Reference

KeyColumn Class
KeyColumn Members
Overload List