Skip to main content
A newer version of this page is available. .

ReflectionClassInfo.DefaultMembersPersistence Property

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

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v18.2.dll

Declaration

public DefaultMembersPersistence DefaultMembersPersistence { get; }

Property Value

Type Description
DefaultMembersPersistence

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

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.

Remarks

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

See Also