MetaDataMember.UpdateCheck Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: