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. Why Entity Framework 4 sucks today

Why Entity Framework 4 sucks today

Scheduled Pinned Locked Moved The Lounge
comsysadminbeta-testinghelpquestion
9 Posts 6 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.
  • H Offline
    H Offline
    Hired Mind
    wrote on last edited by
    #1

    I beat my head for an hour on this[^] bug today. Microsoft, my employer wants a refund on that hour please - I'll tell you where you can put the check. May not seem like a big thing at first blush, and all in all, I like EF 4. But this small bug has the potential to silently render part of your data useless over time, by overwriting data calculated/updated on the server, with data from the EF objects (mostly default values, like null or 0). I never would have known about it until we had been in production for a while and "mystery problems" started appearing.

    R K L 3 Replies Last reply
    0
    • H Hired Mind

      I beat my head for an hour on this[^] bug today. Microsoft, my employer wants a refund on that hour please - I'll tell you where you can put the check. May not seem like a big thing at first blush, and all in all, I like EF 4. But this small bug has the potential to silently render part of your data useless over time, by overwriting data calculated/updated on the server, with data from the EF objects (mostly default values, like null or 0). I never would have known about it until we had been in production for a while and "mystery problems" started appearing.

      R Offline
      R Offline
      RichardM1
      wrote on last edited by
      #2

      Because it needs a punch in the face?

      Opacity, the new Transparency.

      1 Reply Last reply
      0
      • H Hired Mind

        I beat my head for an hour on this[^] bug today. Microsoft, my employer wants a refund on that hour please - I'll tell you where you can put the check. May not seem like a big thing at first blush, and all in all, I like EF 4. But this small bug has the potential to silently render part of your data useless over time, by overwriting data calculated/updated on the server, with data from the EF objects (mostly default values, like null or 0). I never would have known about it until we had been in production for a while and "mystery problems" started appearing.

        K Offline
        K Offline
        kmg365
        wrote on last edited by
        #3

        Started looking at entity framework today as a matter of fact. I see little value for it since I code alone. I usually start with GUI and work back to the db and then back to GUI in iterations. The entity framework assumes you have a finished db design and are ready to code from it. 2 cents.

        S H 2 Replies Last reply
        0
        • K kmg365

          Started looking at entity framework today as a matter of fact. I see little value for it since I code alone. I usually start with GUI and work back to the db and then back to GUI in iterations. The entity framework assumes you have a finished db design and are ready to code from it. 2 cents.

          S Offline
          S Offline
          Super Lloyd
          wrote on last edited by
          #4

          EF4 would work very well with you. As it lets you start from your C# model classes and generate the DB from it! ;)

          A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

          1 Reply Last reply
          0
          • H Hired Mind

            I beat my head for an hour on this[^] bug today. Microsoft, my employer wants a refund on that hour please - I'll tell you where you can put the check. May not seem like a big thing at first blush, and all in all, I like EF 4. But this small bug has the potential to silently render part of your data useless over time, by overwriting data calculated/updated on the server, with data from the EF objects (mostly default values, like null or 0). I never would have known about it until we had been in production for a while and "mystery problems" started appearing.

            L Offline
            L Offline
            leppie
            wrote on last edited by
            #5

            Another Wont Fix. I guess VS2012 is gonna be great :)

            xacc.ide
            IronScheme - 1.0 RC 1 - out now!
            ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition

            S 1 Reply Last reply
            0
            • K kmg365

              Started looking at entity framework today as a matter of fact. I see little value for it since I code alone. I usually start with GUI and work back to the db and then back to GUI in iterations. The entity framework assumes you have a finished db design and are ready to code from it. 2 cents.

              H Offline
              H Offline
              Hired Mind
              wrote on last edited by
              #6

              Actually they leave it up to the developers to decide which way they want to do it, so they have to support model->database and database->model. In my researching the bug in the original post, I found that if I had been working model->database, the bug would not have happened. But I am using Migrator.Net to manage schema revisions, and so I have to work database->model instead of the other way round. (Requirements are a bit of a mess so I'm having to build as I go)

              1 Reply Last reply
              0
              • L leppie

                Another Wont Fix. I guess VS2012 is gonna be great :)

                xacc.ide
                IronScheme - 1.0 RC 1 - out now!
                ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition

                S Offline
                S Offline
                Simon P Stevens
                wrote on last edited by
                #7

                As far as I can tell, the related bug (#505178[^]) has been marked as fixed. They only bit they are saying they aren't going to fix is the request to rename the values. In fairness, I can see why renaming values is a pain as they then have to support multiple sets of syntax for all the people who don't change.

                Simon

                L 1 Reply Last reply
                0
                • S Simon P Stevens

                  As far as I can tell, the related bug (#505178[^]) has been marked as fixed. They only bit they are saying they aren't going to fix is the request to rename the values. In fairness, I can see why renaming values is a pain as they then have to support multiple sets of syntax for all the people who don't change.

                  Simon

                  L Offline
                  L Offline
                  leppie
                  wrote on last edited by
                  #8

                  VS2012 is still gonna great :)

                  xacc.ide
                  IronScheme - 1.0 RC 1 - out now!
                  ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition

                  S 1 Reply Last reply
                  0
                  • L leppie

                    VS2012 is still gonna great :)

                    xacc.ide
                    IronScheme - 1.0 RC 1 - out now!
                    ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition

                    S Offline
                    S Offline
                    Simon P Stevens
                    wrote on last edited by
                    #9

                    I'm looking forward to Direct Brain Interface Studio 2020

                    Simon

                    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