xpo-devexpress-dot-xpo-dot-metadata-dot-xpclassinfo-f9b8297f.md
Gets the collection of persistent properties and fields owned by the current persistent class metadata information.
Namespace : DevExpress.Xpo.Metadata
Assembly : DevExpress.Xpo.v25.2.dll
NuGet Package : DevExpress.Xpo
public IEnumerable PersistentProperties { get; }
Public ReadOnly Property PersistentProperties As IEnumerable
| Type | Description |
|---|---|
| IEnumerable |
A collection of XPMemberInfo objects owned by the current persistent class metadata information.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the PersistentProperties 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.
XPO_how-to-clone-a-persistent-object-e804/CS/SimpleObject/CloneHelper.cs#L39
foreach (XPMemberInfo m in targetClassInfo.PersistentProperties) {
CloneProperty(m, source, target, synchronize);
XPO_how-to-get-a-list-of-a-persistent-objects-properties-e725/CS/Form1.cs#L112
ArrayList result = new ArrayList();
foreach(XPMemberInfo m in xpoInfo.PersistentProperties)
if(!(m is ServiceField) && m.IsPersistent) {
XPO_how-to-clone-a-persistent-object-e804/VB/SimpleObject/CloneHelper.vb#L42
For Each m As XPMemberInfo In targetClassInfo.PersistentProperties
CloneProperty(m, source, target, synchronize)
XPO_how-to-get-a-list-of-a-persistent-objects-properties-e725/VB/Form1.vb#L110
Dim result As ArrayList = New ArrayList()
For Each m As XPMemberInfo In xpoInfo.PersistentProperties
If Not(TypeOf m Is ServiceField) AndAlso m.IsPersistent Then
See Also