UpdateCheck Enumeration
.NET Framework 4.5
Specifies when objects are to be tested for concurrency conflicts.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
The code example after the table specifies that HomePage objects should never be tested.
| Topic | Location |
|---|---|
| Optimistic Concurrency Overview (LINQ to SQL) | |
| Optimistic Concurrency Overview (LINQ to SQL) | LINQ to SQL |
[Column(Storage="_HomePage", DbType="NText", UpdateCheck=UpdateCheck.Never)] public string HomePage { get { return this._HomePage; } set { if ((this._HomePage != value)) { this.OnHomePageChanging(value); this.SendPropertyChanging(); this._HomePage = value; this.SendPropertyChanged("HomePage"); this.OnHomePageChanged(); } } }
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.