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

后端 未结 21 1595
余生分开走
余生分开走 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:35

    It's helped me, I uninstalled EF, restarted VS and I added 'using':

    using System.Data.Entity;
    using System.Data.Entity.Core.Objects;
    using System.Data.Entity.Infrastructure;
    

提交回复
热议问题