2

Using asp .net mvc4, I want to have all my tables, views, controllers named in Italian language. Using EF 5 Code First I get table names pluralized with english language rules, and this is bad.

Is there any place where to code custom inflection rules? I usually use Ruby on Rails for web applications, which has a very nice way to deal with this issue. Is there any similar feature in Entity Framework 5?

4

1 回答 1

3

在此处查看答案以禁用复数。

如何在 EF Code First 中单数化我的表?

您还可以对表进行注释以指定名称。

Entity Framework CodeFirst 表复数

于 2013-04-29T18:08:04.257 回答