Читати англійською Редагувати

Поділитися через


MetaDataMember.IsPersistent Property

Definition

When overridden in a derived class, gets a value that indicates whether this member is mapped to a column (or constraint).

C#
public abstract bool IsPersistent { get; }

Property Value

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.

Applies to

Продукт Версії
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1