MetaDataMember.UpdateCheck Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the optimistic concurrency check policy for this member.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property UpdateCheck As UpdateCheck
public abstract UpdateCheck UpdateCheck { get; }

Property Value

Type: System.Data.Linq.Mapping.UpdateCheck
An UpdateCheck enum.

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.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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