Skip to main content
.NET 8.0+

DefaultMembersPersistenceAttribute.DefaultMembersPersistence Property

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

NuGet Package: DevExpress.Xpo

#Declaration

public DefaultMembersPersistence DefaultMembersPersistence { get; }

#Property Value

Type Description
DefaultMembersPersistence

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

Available values:

Name Description
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