LINQ to SQL Classes with INotifyPropertyChanged and IDataErrorInfo for WPF bindings
I use the LINQ to SQL Classes to access开发者_Python百科 to my database. Now I want to use the LINQ to SQL Classes for WPF DataBindings and validation. How do I implement these two interfaces to my projects Model? Is it possible implement INotifyProperty automatically?
This gets you the INotifyPropertyChanged part.
NotifyPropertyWeaver
Then IDataErrorInfo can be done in a base class.
精彩评论