且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用SQL作为数据库的WPF MVVM项目中Modal类的实际用途是什么。

更新时间:2023-01-14 07:48:11

模型类充当数据的占位符。

viewmodel填充这些模型。

每当模型发生变化时,viewmodel会通知UI由于数据的变化需要刷新它。
Model classes act as the placeholder for your data.
The viewmodel populates these models.
Whenever, there are changes to the model, the viewmodel notifies the UI that it needs to be refreshed due to change in data.