Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Impressed with Microsoft

Impressed with Microsoft

Scheduled Pinned Locked Moved The Lounge
workspace
14 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Gordon Kushner

    So I'm working on an Entity Framework model. When you create an entity, it creates an EntitySet with the pluralized name. My object is named ChatterBox. I was certain that the environment was so stupid that I intentionally coded the AddObject method with "ChatterBoxs". Imagine my surprise when it actually named it "ChatterBoxes"! Kudos to MS.

    J Offline
    J Offline
    jschell
    wrote on last edited by
    #4

    What about Moose? Or Mouse?

    1 Reply Last reply
    0
    • L Lost User

      What if you name the object Sheep?

      G Offline
      G Offline
      Gary R Wheeler
      wrote on last edited by
      #5

      "Customers"

      Software Zen: delete this;

      1 Reply Last reply
      0
      • G Gordon Kushner

        So I'm working on an Entity Framework model. When you create an entity, it creates an EntitySet with the pluralized name. My object is named ChatterBox. I was certain that the environment was so stupid that I intentionally coded the AddObject method with "ChatterBoxs". Imagine my surprise when it actually named it "ChatterBoxes"! Kudos to MS.

        M Offline
        M Offline
        Mycroft Holmes
        wrote on last edited by
        #6

        I once wrote a (large) method that parsed a string and broke it into words, specifically to process datagridview headers to make them more readable. Next release of the control MS had included the same functionality in the DGV. No matter how irritating they can be they still do some excellent stuff.

        Never underestimate the power of human stupidity RAH

        G 1 Reply Last reply
        0
        • G Gordon Kushner

          So I'm working on an Entity Framework model. When you create an entity, it creates an EntitySet with the pluralized name. My object is named ChatterBox. I was certain that the environment was so stupid that I intentionally coded the AddObject method with "ChatterBoxs". Imagine my surprise when it actually named it "ChatterBoxes"! Kudos to MS.

          B Offline
          B Offline
          BillWoodruff
          wrote on last edited by
          #7

          Too bad that's not a user configurable option: then all the gamers could make everything end in the letter "z." best, Bill

          It keeps me humble to think there's more bacteria in my gut than neurons in my brain, and that twenty trillion neutrinos pass through one hand a second, and that the average mattress contains 20 million bedbugs each of whom shits once per hour.

          L 1 Reply Last reply
          0
          • G Gordon Kushner

            So I'm working on an Entity Framework model. When you create an entity, it creates an EntitySet with the pluralized name. My object is named ChatterBox. I was certain that the environment was so stupid that I intentionally coded the AddObject method with "ChatterBoxs". Imagine my surprise when it actually named it "ChatterBoxes"! Kudos to MS.

            B Offline
            B Offline
            Brady Kelly
            wrote on last edited by
            #8

            The EF pluralization service is pretty good these days, but very recently I have come to much prefer Code First, where I switch this off for table names, and whether off or on, I still have to choose my own DbSet names anyway. Zero unhappy incidents.

            1 Reply Last reply
            0
            • G Gordon Kushner

              So I'm working on an Entity Framework model. When you create an entity, it creates an EntitySet with the pluralized name. My object is named ChatterBox. I was certain that the environment was so stupid that I intentionally coded the AddObject method with "ChatterBoxs". Imagine my surprise when it actually named it "ChatterBoxes"! Kudos to MS.

              Sander RosselS Offline
              Sander RosselS Offline
              Sander Rossel
              wrote on last edited by
              #9

              Our company has a Dutch database. Dutch has different rules for pluralization. It makes funny stuff. It's annoying. Why is our database Dutch anyway? :sigh:

              It's an OO world.

              public class Naerling : Lazy<Person>{
              public void DoWork(){ throw new NotImplementedException(); }
              }

              L R 2 Replies Last reply
              0
              • M Mycroft Holmes

                I once wrote a (large) method that parsed a string and broke it into words, specifically to process datagridview headers to make them more readable. Next release of the control MS had included the same functionality in the DGV. No matter how irritating they can be they still do some excellent stuff.

                Never underestimate the power of human stupidity RAH

                G Offline
                G Offline
                Gordon Kushner
                wrote on last edited by
                #10

                Yeah, and in recent years they've actually took the lead rather than waiting for Java or Apple to do it first ;)

                1 Reply Last reply
                0
                • Sander RosselS Sander Rossel

                  Our company has a Dutch database. Dutch has different rules for pluralization. It makes funny stuff. It's annoying. Why is our database Dutch anyway? :sigh:

                  It's an OO world.

                  public class Naerling : Lazy<Person>{
                  public void DoWork(){ throw new NotImplementedException(); }
                  }

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #11

                  Naerling wrote:

                  Dutch has different rules for pluralization.

                  It has rules?

                  1 Reply Last reply
                  0
                  • B BillWoodruff

                    Too bad that's not a user configurable option: then all the gamers could make everything end in the letter "z." best, Bill

                    It keeps me humble to think there's more bacteria in my gut than neurons in my brain, and that twenty trillion neutrinos pass through one hand a second, and that the average mattress contains 20 million bedbugs each of whom shits once per hour.

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #12

                    Repz for you.

                    1 Reply Last reply
                    0
                    • Sander RosselS Sander Rossel

                      Our company has a Dutch database. Dutch has different rules for pluralization. It makes funny stuff. It's annoying. Why is our database Dutch anyway? :sigh:

                      It's an OO world.

                      public class Naerling : Lazy<Person>{
                      public void DoWork(){ throw new NotImplementedException(); }
                      }

                      R Offline
                      R Offline
                      RCoate
                      wrote on last edited by
                      #13

                      Just don't use it for a web backend. The hash cookies could cause unexpected behaviour.

                      1 Reply Last reply
                      0
                      • G Gordon Kushner

                        So I'm working on an Entity Framework model. When you create an entity, it creates an EntitySet with the pluralized name. My object is named ChatterBox. I was certain that the environment was so stupid that I intentionally coded the AddObject method with "ChatterBoxs". Imagine my surprise when it actually named it "ChatterBoxes"! Kudos to MS.

                        M Offline
                        M Offline
                        Mark_Wallace
                        wrote on last edited by
                        #14

                        So it's modifying names with conventions that are not part of the language? Are all of these modifications clearly documented? Which dialects of which idioms of which languages are used? If I have MagnumOpus, will if create a MagnumOpi set? What rules are followed? I can see it causing problems. I don't want an IDE to think in any language other than the language I'm coding in, and I certainly don't need automatic spelling changes. If I want an 'e' in a set name, it won't take me a day to type it, but it might take a day to track down problems later. Too many bells and whistles just give you earache.

                        I wanna be a eunuchs developer! Pass me a bread knife!

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups