This project is read-only.

Pluralisation when using EFDAL?

Oct 18, 2010 at 3:39 PM

Hi
What's the best approach when using nHydrate's EFDAL over pluralisation?

If I have Customer - should the Table be named Customers?
If I have Person - should the Table be named People?

as far as I see, nHydate does not do any pluralisation like EF attempts to.. the Entity and the Entity Set Name are the same.
Can I add manually, if so where?

thanks
John

Oct 18, 2010 at 5:19 PM

We recommend that you name your table singular. The EntiyContext will be singular too but relations will be pluralized like "Customer.OrderList". We use "List" to avoid any language specific issues with pluralization.