Exago .NET API Documentation
Add(Entity,Boolean) Method
WebReports.Api.Common Namespace > EntityCollection Class : Add(Entity,Boolean) Method
An Entity object that represents the new Entity (Data Object) to add.
Should always be true. If this argument is omitted, it will default to true.
Add a new Entity (Data Object) to the collection of Entities. This method should be accessed via Api.Entities.
Syntax
public Entity Add( 
   Entity entity,
   System.bool addEntityData
)

Parameters

entity
An Entity object that represents the new Entity (Data Object) to add.
addEntityData
Should always be true. If this argument is omitted, it will default to true.
Exceptions
ExceptionDescription
Exception is thrown if trying to add an Entity (Data Object) to the collection that already exists.
See Also

Reference

EntityCollection Class
EntityCollection Members