Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我为我的整个 WPF 应用程序使用相同的数据上下文。如何从数据库中重新加载特定对象?我尝试了该对象的数据上下文的刷新功能,但没有成功。
你做;
你的数据上下文 = null; YourDataContext = Database.Read();