The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

DefaultMembersPersistenceAttribute Class

Specifies which members are implied as persistent by default.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.1.dll

Declaration

[AttributeUsage(AttributeTargets.Class, Inherited = true)]
public sealed class DefaultMembersPersistenceAttribute : Attribute
<AttributeUsage(AttributeTargets.Class, Inherited:=True)>
Public NotInheritable Class DefaultMembersPersistenceAttribute
    Inherits Attribute
[AttributeUsage(AttributeTargets.Class, Inherited = true)]
public sealed class DefaultMembersPersistenceAttribute : Attribute
<AttributeUsage(AttributeTargets.Class, Inherited:=True)>
Public NotInheritable Class DefaultMembersPersistenceAttribute
    Inherits Attribute

Remarks

The DefaultMembersPersistenceAttribute attribute allows you to specify which members should be implied as persistent.

If the DefaultMembersPersistenceAttribute.DefaultMembersPersistence property is set to the DefaultMembersPersistence.OnlyDeclaredAsPersistent value, only those members that are marked as persistent (a PersistentAttribute is applied) are implied as persistent members. Otherwise, if set to the DefaultMembersPersistence.Default value, all public properties and fields of persistent type with get and set accessors and those that are marked as persisted are implied as persistent members.

Inheritance

Object
Attribute
DefaultMembersPersistenceAttribute
See Also