Entity Framework (4.3) looking for singular name instead of plural (when entity name ends with “s”)

后端 未结 4 1946
半阙折子戏
半阙折子戏 2021-02-05 15:25

Here\'s my situation: I have been working on an ASP.NET MVC 3 application for a while. It has a database (built out of a db project; I\'m going db-first) for which I have an edm

4条回答
  •  灰色年华
    2021-02-05 16:10

    Sigh. Same type of an issue with the class and model Photo and Video; it is looking for the table Photoes and Videoes. I hate to just change the table name, but not much of a choice it looks like.

提交回复
热议问题