Exago .NET API Documentation
NewEntity Method
Example 
WebReports.Api.Common Namespace > EntityCollection Class : NewEntity Method
The Name property of the Entity object (Data Object) to create. This is equivalent to the Alias field in the Admin Console for Data Objects.
Create a new Entity object and add it to the collection.
Syntax
public Entity NewEntity( 
   System.string entityName
)

Parameters

entityName
The Name property of the Entity object (Data Object) to create. This is equivalent to the Alias field in the Admin Console for Data Objects.

Return Value

An Entity object with the Alias provided by the entityName argument.
Example
Add a new Entity (Data Object) to the API's collection, and assign it to a variable myNewEntity
Entity myNewEntity = api.Entities.NewEntity("Campaigns");
See Also

Reference

EntityCollection Class
EntityCollection Members