Gets or sets how LINQ to SQL approaches the detection of optimistic concurrency conflicts.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
When this property is used with one of three enums, it determines how LINQ to SQL detects concurrency conflicts.
If no member is designed as IsVersion=true, original member values are compared with the current database state.
The following enums are available:
Always Always use this column for conflict detection.
Never Never use this column for conflict detection.
WhenChanged Use this column only when the member has been changed by the application.
<Column(Storage:="_CustomerDesc", DbType:="NText", UpdateCheck:=UpdateCheck.Never)> _ Public Property CustomerDesc() As String Get Return Me._CustomerDesc End Get Set If ((Me._CustomerDesc = value) _ = false) Then Me.OnCustomerDescChanging(value) Me.SendPropertyChanging Me._CustomerDesc = value Me.SendPropertyChanged("CustomerDesc") Me.OnCustomerDescChanged End If End Set End Property