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 MustOverride ReadOnly Property UpdateCheck As UpdateCheck

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
© 2015 Microsoft