Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

PersistentAttribute(String) Constructor

Initializes a new instance of the PersistentAttribute class with the specified name for the table or column.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public PersistentAttribute(
    string mapTo
)

Parameters

Name Type Description
mapTo String

A String value which specifies the name of the table or column to map a class or property/field to. This value is assigned to the PersistentAttribute.MapTo property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PersistentAttribute(String) constructor.

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