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

后端 未结 21 1590
余生分开走
余生分开走 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条回答
  •  萌比男神i
    2020-12-08 13:16

    Hi this post is very misleading, if your reading this 2 years on.

    With using EF6 and .net 4.5.1 in VS 2013 I have had to reference the following to get this to work

    using System.Data.Entity.Core.EntityClient;
    

    a little different to before,

    this is more of a FYI for people that come here for help on newer problems than a answer to the original question

提交回复
热议问题