Exago .NET API Documentation
DataSourceId Property (Entity)
Example 
WebReports.Api.Reports Namespace > Entity Class : DataSourceId Property
The ID of the Data Source that this Entity (Data Object) is a member of.
Syntax
public System.int DataSourceId {get; set;}
Example
Get the ID of the Donations MSSQL data souce by it's name.
myNewEntity.DataSourceId = api.DataSources.GetDataSource("Donations MSSQL").Id;
See Also

Reference

Entity Class
Entity Members
DataSources Property