I’m giving EF Model first a go. I’m using EF 4.1
Pretty much followed this article
I’ve set PluraliseNewObjects to False on the Model and also in Options->Database Tools ->O/R Designer set Pluralization of names to false.
Neither have any effect – when I generate a new schema from the model the table names are always pluralised – is it possible to disable this?
OK – I’ve found one way to achieve what I want – but it’s a pretty daft route.
Generated db with the plural names (interesting that it only pluralised the tables mapping to types – not the auto-generated linking tables for many to many joins).
Manually renamed the tables in the database
Deleted Model from the project and recreated based on existing database schema (the one I’ve just renamed).
Model is now correctly mapped to singularly names tables.
I’ll wait and see if anyone comes up with a more sensible way of achieving this….