I'm using Visual Studio 2008
Each time I modify my dbml through the designer some of the table names in the designer.cs file are changed from TableName
to TableNames
leading to some reference errors in the rest of the project. The names that appear on the dbml are not changed.
Where does this come from ? Is it a setting ?
Edit: It happens to tables I have recently added through the designer and to all the tables that have a foreign key linking theme to these tables.
It was a setting:
Tools > Options > Database tools > O/R Designer
And then we have a Pluralization of names
option that can be switched to :
Enabled False
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With