@leo del ciello , Welcome to Microsoft Q&A,
- how to avoid pluralization of dbset names
- why only the table Venezia generates the entity Venezium and not Venezia
They are actually the same problem. We could use -NoPluralize command mentioned in doc to disable the pluralizer to solve the problem.
Full command:
Scaffold-DbContext 'connstr' Microsoft.EntityFrameworkCore.SqlServer -NoPluralize
After run the command, you could see the following result:
About your third question, Could you provide your database table design?
Best Regards,
Jack
If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.