AliasedBase.Alias Property

Specifies the alias that is used to refer to a data column instead of its name.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v21.2.dll

Declaration

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

Property Value

Type Default Description
String

null

A String value, specifying the data column alias.

Remarks

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

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Alias 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