UpdateCheck Property

MetaDataMember.UpdateCheck Property

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

Gets the optimistic concurrency check policy for this member.

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

public abstract UpdateCheck UpdateCheck { get; }

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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft