This documentation is archived and is not being maintained.

UpdateCheck Enumeration

Specifies when objects are to be tested for concurrency conflicts.

Namespace:  System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public enum UpdateCheck

Member nameDescription
AlwaysAlways check. This is the default unless IsVersion is true for a member.
NeverNever check.
WhenChangedCheck only when the object has been changed.

The code example after the table specifies that HomePage objects should never be tested.

[Column(Storage="_HomePage", DbType="NText", UpdateCheck=UpdateCheck.Never)]
public string HomePage
        return this._HomePage;
        if ((this._HomePage != value))
            this._HomePage = value;

.NET Framework

Supported in: 4, 3.5

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.