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

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


MetaDataMember.UpdateCheck Property

Definition

When overridden in a derived class, gets the optimistic concurrency check policy for this member.

C#
public abstract System.Data.Linq.Mapping.UpdateCheck UpdateCheck { get; }

Property Value

One of the enumeration values that indicates the optimistic concurrency check policy for this member.

Remarks

If the class does not have a version member (IsVersion set to true), detection is done by comparing original member values with the current database state.

The UpdateCheck property determines how LINQ to SQL implements conflict detection under optimistic concurrency. Only those members with this property set to Always or WhenChanged are considered during conflict detection.

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