UpdateCheck Property

MetaDataMember.UpdateCheck Property

 

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:
© 2016 Microsoft