關於System.Data引用的問題

最近在用Mac寫代碼,用慣了win,很多東西都不習慣。 使用C#連接mysql數據庫,Mac下用的是mysql workbench,在開啓數據庫連接的時候出了問題。 先看截圖:   簡簡單單的幾句代碼,卻報錯:The type 'DbConnection' is defined in an assembly that is not referenced.You must ass a referen
相關文章
相關標籤/搜索