开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜