Skip to main content
.NET 6.0+

DefaultMembersPersistence Enum

Lists the values that determine which members are implied as persistent by default.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public enum DefaultMembersPersistence

Members

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.

Remarks

The values listed by this enumeration are used to set the DefaultMembersPersistenceAttribute.DefaultMembersPersistence property.

See Also