I changed my data source in my LINQ-to-SQL class (the old delete and drag and drop method), and was surprised to see that the INotifyPropertyChanging and INotifyPropertyChanged interfaces are no longer implemented in the generated classes (MyDb.designer. CS).
Methods for individual fields came from this kind ...
[Column(Storage="_Size", DbType="NVarChar(100)")] public string Size { get { return this._Size; } set { if ((this._Size != value)) { this.OnSizeChanging(value); this.SendPropertyChanging(); this._Size = value; this.SendPropertyChanged("Size"); this.OnSizeChanged(); } } }
To look like this ...
[Column(Storage="_Size", DbType="NVarChar(100)")] public string Size { get { return this._Size; } set { if ((this._Size != value)) { this._Size = value; } } }
Any ideas on why this is happening and how it will affect my application?
source share