Question

I have table Forums and entity Forum. But when I doing query to this table, Entity Framework generation query to table Fora. When in entity class Forum add attribute Table("Forums") I get proper query. Why this happens?

Était-ce utile?

La solution

This is actually not a bug, the proper english plural form of Forum is Fora. However, you kind of answered your own questions. You can indeed solve it by adding an attribute Table("Forums").

Source: http://en.wiktionary.org/wiki/forum#English

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top