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アプリケーション全体で同じデータコンテキストを使用しています。データベースから特定のオブジェクトをリロードするにはどうすればよいですか?そのオブジェクトのデータコンテキストの更新機能を試しましたが、成功しませんでした。
あなたがやる;
YourDataContext = null; YourDataContext = Database.Read();