Exago .NET API Documentation
GetEntityByDbName Method
WebReports.Api.Common Namespace > EntityCollection Class : GetEntityByDbName Method
The DbName Property of the Entity (Data Object) to retrieve.
Optionally, the ID of the Data Source from which this Entity must exist.
Retrieves an Entity (Data Object) by its DbName Property. If the dataSourceId argument is provided, the Entity (Data Object) must exist in that Data Source.
Syntax
public Entity GetEntityByDbName( 
   System.string entityDbName,
   System.Nullable<int> dataSourceId
)

Parameters

entityDbName
The DbName Property of the Entity (Data Object) to retrieve.
dataSourceId
Optionally, the ID of the Data Source from which this Entity must exist.

Return Value

An Entity object that represents the requested Data Object.
See Also

Reference

EntityCollection Class
EntityCollection Members