Exago .NET API Documentation
DbName Property (Entity)
Example 
WebReports.Api.Reports Namespace > Entity Class : DbName Property

The name of the object in the data source that corresponds with this data object. For example, the name of the table or view.

If this Entity is a Custom SQL Object, this is the Object Name property of the Custom SQL Object.

Syntax
public System.string DbName {get; set;}

Property Value

The name of the table, view, stored procedure, etc... in the Data Source that is the basis for this Entity (Data Object).
Remarks
Equivalent to the right-hand dropdown of the Name setting in the Admin Console for Data Objects, or the Object Name field in the Custom SQL Object dialog.
Example
myNewEntity.DbName = "Campaigns";
Set the Object Name of a Custom SQL Object
employees.DbName = "MyCustomSQLObjectName";
Requirements

The DbName property may not contain any of the following characters:

{ } [ ] , . %

To create an Entity (Data Object) with one of these characters in the DbName, create a Custom SQL Object with a simple SELECT clause. For example for a table named sales.figures.2020:

SELECT * FROM [sales.figures.2020]

Note that the identifier delimiters (the [ ]) around the table name will vary with the database type.

See Also

Reference

Entity Class
Entity Members