The type or namespace name 'Entity' does not exist in the namespace 'System.Data'

后端 未结 21 1585
余生分开走
余生分开走 2020-12-08 12:46

I\'m using WS class and it gave me error when I run the application:

The type or namespace name \'Entity\' does not exist in the namespace \'System.Data\' 
<         


        
21条回答
  •  春和景丽
    2020-12-08 13:36

    Thanks every body! I found the solution. not that I understand why but I tried this and it worked! I just had to add a reference to: System.Data.Entity.Design and don't have to write any using in the code. Thanks!

提交回复
热议问题