阅读背景:

在ViewModel上使用DependencyProperty和Entity Framework

来源:互联网 

I am writing a desktop application in C# using the MVVM pattern with an Entity Framework model. I tend to use DependencyProperties in my VM's and have come to (generally) prefer this system over implementing INotifyPropertyChanged. I would like to keep things consistent. My VM accesses the Entities in the Model and I have managed to keep things pretty separate - the View has no knowlege of the VM except for binding and command names and the Model has know knowlege of the VM. I am writing a desktop application in C# using




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: