This question is locked. New answers and comments are not allowed.
Ref: Documentation: How to: Implement INotifyPropertyChanging/ed Interface (VB.NET)
http://www.telerik.com/help/openaccess-orm/openaccess-tasks-model-tools-use-code-generation-templates-implement-inotifypropertychanged-vbnet.html
http://www.telerik.com/help/openaccess-orm/openaccess-tasks-model-tools-use-code-generation-templates-implement-inotifypropertychanged-vbnet.html
There is an error in the code:
Line 336, void GenerateProperty will generate:
Public Overridable Property OrderNumber As Long
Get
Return Me._OrderNumber
End Get
Set(ByVal value As Long)
Me.OnPropertyChanging("Name")
Me._OrderNumber = value
Me.OnPropertyChanged("Name")
End Set
End Property
>> as you can see it does an OnPropertyChanging/ OnPropertyChanged of “Name”… always.
It should be this:
(The Set, Line 336 of Specific.ttinclude, void GenerateProperty)
Set(ByVal value As <#= this.GetTypeStringPresentation(property) #>)
Me.OnPropertyChanging("<#= property.Name #>")
Me.<#= property.FieldName #> = value
Me.OnPropertyChanged("<#= property.Name #>")
End Set