Exago .NET API Documentation
Add(String,String,String) Method
Example 
WebReports.Api.Reports Namespace > EntityTenantCollection Class > Add Method : Add(String,String,String) Method
Syntax
public void Add( 
   System.string entityName,
   System.string colName,
   System.string parameterId
)

Parameters

entityName
colName
parameterId
Example
//Ensure the tentant parameter is present, and set a value for it.
api.Parameters.AddOrReplace(new WebReports.Api.Common.Parameter("Campaign", "", false, true));
api.Parameters.GetParameter("Campaign").Value = "US Expo";
myNewEntity.Tenants.Add(new EntityTenant(myNewEntity.Name, "Campaign Name", "Campaign"));
See Also

Reference

EntityTenantCollection Class
EntityTenantCollection Members
Overload List