Back to Devexpress

DefaultMembersPersistenceAttribute.DefaultMembersPersistence Property

xpo-devexpress-dot-xpo-dot-defaultmemberspersistenceattribute.md

latest1.7 KB
Original Source

DefaultMembersPersistenceAttribute.DefaultMembersPersistence Property

Gets a value that determines which members are persistent by default.

Namespace : DevExpress.Xpo

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 implied to be persistent by default.

|

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.

|

See Also

DefaultMembersPersistenceAttribute Class

DefaultMembersPersistenceAttribute Members

DevExpress.Xpo Namespace