Skip to main content
A newer version of this page is available. .

Table.Name Property

Specifies the name by which a data table is referred to in a database schema.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v18.2.dll

Declaration

[DefaultValue(null)]
public string Name { get; set; }

Property Value

Type Default Description
String *null*

A String value, specifying the data table name.

Remarks

Instead of addressing a table by its Name, you can assign it an Table.Alias. The alias is used to refer to a table in calculations and summary values within the SELECT statement of a SQL string. By using aliases, it is possible to identify data tables that have similar names.

To learn whether or not a table has been assigned an alias, use the Table.HasAlias property.

The Table.ActualName property returns the current identifier of a data table (its name or alias).

The following code snippets (auto-collected from DevExpress Examples) contain references to the Name property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also