IsPersistent Property

MetaDataMember.IsPersistent Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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 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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft