Changing Namespaces in Entity Framework

后端 未结 4 1358
小鲜肉
小鲜肉 2020-12-09 00:54

I am trying to change the Namespace used by Entity Framework Generator of classes.

When I click the designer of my Entity, Model.edmx, I can see somewhere where I ca

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-09 01:41

    My issue was that I had to rename a solution and the default namespace and assembly name hadn't gotten changed to the new name. After making sure your namespace is correct in the EDMX designer, right click on your project to open properties and update the default namespace and assembly name and we were good.

提交回复
热议问题