exception of type 'System.ArgumentException' occurred while attempting to update from the database.
之前不確定動到Entity Framework 什麼導致出現錯誤
錯誤內容類似 :
(沒有截到中文的圖)
exception of type 'System.ArgumentException' occurred while attempting to update from the database. The exception message is: 'Unable to convert runtime connection string to its design-time equivalent. The libraries required to enable Visual Studio to communicate with the database for design purposes (DDEX provider) are not installed for provider 'Oracle.DataAccess.Client'. Connection string: XXXXX.
解決方式
1.確認有安裝正確版本的ODT
2.went to the folder C:\Program Files (x86)\Oracle Developer Tools for VS2017\odt and installed Oracle.VsDevTools.15.0.vsix. Fixed on VS 2017 Community