xpo-devexpress-dot-xpo-dot-metadata-dot-xpclassinfo-36e7563f.md
Gets the name of the table in the data layer in which the object’s data is stored.
Namespace : DevExpress.Xpo.Metadata
Assembly : DevExpress.Xpo.v25.2.dll
NuGet Package : DevExpress.Xpo
public string TableName { get; }
Public ReadOnly Property TableName As String
| Type | Description |
|---|---|
| String |
A String value which specifies the table’s name.
|
Use the PersistentAttribute to specify the name of the table to map to.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TableName 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.
foreach(XPClassInfo ci in dictionary.Classes) {
if(!IsTempDatabaseTable(ci.TableName)) {
legacyDictionary.QueryClassInfo(ci.ClassType);
For Each ci As XPClassInfo In dictionary.Classes
If Not IsTempDatabaseTable(ci.TableName) Then
legacyDictionary.QueryClassInfo(ci.ClassType)
See Also