4
I am in an ASP.net MVC 5 application, configuring a class DbContext
.
When the EF generates the database, the tables referring to the application objects are getting names in the plural. For example:
public System.Data.Entity.DbSet<Teste.Models.Categoria> Categoria { get; set; }
public System.Data.Entity.DbSet<Teste.Models.Imagem> Imagem { get; set; }
In the bank, the tables look like this:
dbo.Categorias.
dbo.Imagems.
How to configure not to plural?