Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft