Dbset Pluralization not working

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
RobertK
Posts: 111
Joined: Thu 02 Mar 2017 05:44

Dbset Pluralization not working

Post by RobertK » Wed 07 Aug 2019 06:32

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
Last edited by RobertK on Wed 07 Aug 2019 11:04, edited 1 time in total.

RobertK
Posts: 111
Joined: Thu 02 Mar 2017 05:44

Re: Dbset Pluralization not working

Post by RobertK » Wed 07 Aug 2019 11:02

"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?

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Dbset Pluralization not working

Post by Shalex » Wed 07 Aug 2019 16:50

There are different opinions about the plural form of "status": https://english.stackexchange.com/quest ... -of-status.

RobertK
Posts: 111
Joined: Thu 02 Mar 2017 05:44

Re: Dbset Pluralization not working

Post by RobertK » Thu 08 Aug 2019 04:54

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.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Dbset Pluralization not working

Post by Shalex » Thu 08 Aug 2019 14:34

We will investigate the question and notify you about the result.

RobertK
Posts: 111
Joined: Thu 02 Mar 2017 05:44

Re: Dbset Pluralization not working

Post by RobertK » Mon 12 Aug 2019 02:07

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

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Dbset Pluralization not working

Post by Shalex » 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.

RobertK
Posts: 111
Joined: Thu 02 Mar 2017 05:44

Re: Dbset Pluralization not working

Post by RobertK » Tue 01 Oct 2019 10:19

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

Post Reply