UpdateCheck Enumeration
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Specifies when objects are to be tested for concurrency conflicts.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
Member name | Description | |
---|---|---|
Always | Always check. This is the default unless IsVersion is true for a member. | |
Never | Never check. | |
WhenChanged | Check 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 { get { return this._HomePage; } set { if ((this._HomePage != value)) { this.OnHomePageChanging(value); this.SendPropertyChanging(); this._HomePage = value; this.SendPropertyChanged("HomePage"); this.OnHomePageChanged(); } } }
.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Show: