Page 1 of 1

Dbset Pluralization not working

Posted: Wed 07 Aug 2019 06:32
by RobertK
Is this a bug?

Table => DbSet
AccountType => AccountTypes [Good]
Country => Countries [Good]
AccountStatus => AccountStatus [Bad]

AccountStatus should be AccountStatuses not AccountStatus.

Entity Developer v6.4.790

Note: EntitySet has been set to pluarize

Re: Dbset Pluralization not working

Posted: Wed 07 Aug 2019 11:02
by RobertK
"Statuses" is the correct plural for many status.
If both singular and plural name for many account status is called account status, how do you determine which is which?

Re: Dbset Pluralization not working

Posted: Wed 07 Aug 2019 16:50
by Shalex
There are different opinions about the plural form of "status": https://english.stackexchange.com/quest ... -of-status.

Re: Dbset Pluralization not working

Posted: Thu 08 Aug 2019 04:54
by RobertK
how do I fix this?

Can I use Statuses instead of "Status"?

It is confusing in a business sense because we can have either a single record or a collect of records

Status - singular
Statuses - collection

If you call it status for both it is confusing.

Re: Dbset Pluralization not working

Posted: Thu 08 Aug 2019 14:34
by Shalex
We will investigate the question and notify you about the result.

Re: Dbset Pluralization not working

Posted: Mon 12 Aug 2019 02:07
by RobertK
Shalex wrote: Thu 08 Aug 2019 14:34 We will investigate the question and notify you about the result.
thanks

Re: Dbset Pluralization not working

Posted: Sat 14 Sep 2019 09:16
by Shalex
The behaviour is changed: a plural form of names ending with "s" now has a longer version (for example, status -> statuses): viewtopic.php?f=32&t=39341.

Re: Dbset Pluralization not working

Posted: Tue 01 Oct 2019 10:19
by RobertK
Shalex wrote: Sat 14 Sep 2019 09:16 The behaviour is changed: a plural form of names ending with "s" now has a longer version (for example, status -> statuses): viewtopic.php?f=32&t=39341.
Perfect, thanks