다음을 통해 공유


MetaDataMember.IsPersistent Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets whether this member is mapped to a column (or constraint).

Namespace:  System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property IsPersistent As Boolean
public abstract bool IsPersistent { get; }

Property Value

Type: System.Boolean
true if this member is mapped to a column (or constraint); otherwise, false.

Remarks

A class may have a combination of persistent and non-persistent members. Persistent members are mapped while non-persistent members are not mapped. A mapped class must have at least one persistent member.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.