Muokkaa

Jaa


MetaDataMember.UpdateCheck Property

Definition

When overridden in a derived class, gets the optimistic concurrency check policy for this member.

public:
 abstract property System::Data::Linq::Mapping::UpdateCheck UpdateCheck { System::Data::Linq::Mapping::UpdateCheck get(); };
public abstract System.Data.Linq.Mapping.UpdateCheck UpdateCheck { get; }
member this.UpdateCheck : System.Data.Linq.Mapping.UpdateCheck
Public MustOverride ReadOnly Property UpdateCheck As UpdateCheck

Property Value

One of the enumeration values that indicates the optimistic concurrency check policy for this member.

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.

Applies to