Exago .NET API Documentation
EntityTenantCollection Class
Members  Example 
WebReports.Api.Reports Namespace : EntityTenantCollection Class
Represents all of the Tenant Columns, as EntityTenant Objects on a Data Object. Do not instantiate this collection, access it through the Tenants Property of the Entity Class.
public class EntityTenantCollection : WebReports.Api.Common.WrProtectedList<EntityTenant> 

Collection classes are enumerable Lists of a specific object type.

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

Create a new tenant column that will only show records where the "Campaign Name" column matches the value of the built-in "companyId" parameter
myNewEntity.Tenants.Add(new EntityTenant(myNewEntity.Name, "Campaign Name", "companyId"));
Inheritance Hierarchy


See Also


EntityTenantCollection Members
WebReports.Api.Reports Namespace

Exago Knowledge Base

Multi-Tenant Environment Integration
Data Objects