I am developing an API project with entityFramework in .NET.
I am not using any methodologies (Model First, DataBase First or Code First) for particular project reasons.
My bank has tables with names in the short name (user, books, dogs), my models class have names with Pascal Case (User, Books, Dogs).
When the entity tries to search the table and searches only with Pascal Case (User, Books, Dogs) and does not find it.
MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'controltec.Zone' doesn't exist
*I already worked on a project, with a different version of the entity and a different version of mysql and the problem didn't happen.
I don't want to change the names of my tables or my models, how can I do?
User contributions licensed under CC BY-SA 3.0