Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 634569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:18:35+00:00 2026-05-13T20:18:35+00:00

While reading an article on EF 4, I read that EF pluralizes certain objects

  • 0

While reading an article on EF 4, I read that EF pluralizes certain objects (EntitySet’s, Navigation’s pointing to EntityCollection’s, etc.), while using the singular form for other objects. Out of curiosity – how does it do this ? Is it using a built-in dictionary ?

Thanks,

Scott

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T20:18:36+00:00Added an answer on May 13, 2026 at 8:18 pm

    Microsoft added a PluralizationService base abstract class to the .NET framework – which can be used for other purposes as well!

    public abstract  class PluralizationService
    { 
            public static PluralizationService CreateService(CultureInfo culture);
    
            public abstract string Pluralize(string word);
            public abstract string Singularize(string word);
    } 
    

    See a great blog post on EF Pluralization which explains it in great detail. Microsoft provides a few concrete implementations of that service in various languages / cultures, but you’re totally free to roll your own.

    I don’t know for a fact how the EF4 provided pluralization services work – but most likely it’s a combination of certain linguistic rules, and a plethora of exceptions to handle differently. Those are most likely stored as resources or in some other way inside the relevant assemblies.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While reading from serial port I am using serialport.read(xyz,0,4) where xyz is a byte
While reading this article, I got a doubt. I understood that while trasferring small
I read some articles on net for sending the files using HTTP/(Ajax). While reading
A while back I was reading the W3C article on ' Re-using Strings in
While I was reading about session hijacking articles, i learned that it would be
While reading this class BitmapFactory I noticed that almost all methods inside are static.
While reading the K&R 2nd edition I noticed that the programs always began with
While reading cocoa tutorials i've noticed that some of the tutorials use AppDelegate and
I read a while back that Quantum Computers can break most types of hashing
Before reading please note that I've googled this and read a ton of articles

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.