Back to Devexpress

ReflectionClassInfo.DefaultMembersPersistence Property

xpo-devexpress-dot-xpo-dot-metadata-dot-reflectionclassinfo.md

latest1.9 KB
Original Source

ReflectionClassInfo.DefaultMembersPersistence Property

Gets the rule that determines which members are persistent by default.

Namespace : DevExpress.Xpo.Metadata

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public DefaultMembersPersistence DefaultMembersPersistence { get; }
vb
Public ReadOnly Property DefaultMembersPersistence As DefaultMembersPersistence

Property Value

TypeDescription
DefaultMembersPersistence

A DefaultMembersPersistence enumeration value that specifies which members are by default implied to be persistent.

|

Available values:

NameDescription
Default

The members are implied to be persistent by default if they are declared as public or have the PersistentAttribute attribute.

| | OnlyDeclaredAsPersistent |

The members are implied to be persistent if they have the PersistentAttribute attribute.

|

Remarks

Use the DefaultMembersPersistenceAttribute to specify which members must be persistent by default.

See Also

ReflectionClassInfo Class

ReflectionClassInfo Members

DevExpress.Xpo.Metadata Namespace