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)


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.


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


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