No connection string named could be found in the application config file

前端 未结 9 1188
时光取名叫无心
时光取名叫无心 2020-12-29 06:54

I\'m using EF and generated .EDMX from it but then I only wanted it to be used for automated generation of Class Files.

I then used the Class Files to create a Enti

9条回答
  •  [愿得一人]
    2020-12-29 07:13

    I found that this worked:

    1) Check if you have several "App.config" files. 2) Check if has a wrong name than the connection string it has to use. 3) Save the project and run the program

    It should work now.

提交回复
热议问题