Domanda

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?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top