标签:linq to sql

Linq to SQL INotifyPropertyChanging 接口作用

使用设计器生成的实体类会实现两个接口INotifyPropertyChanged和INotifyPropertyChanging,其中INotifyPropertyChanging这个接口有什么用呢?在什么地方会用到呢?而且生成代码中声明的事件实例传了一个空字符串( private static PropertyChangingEventArgs emp……