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. Entity Data Model

Entity Data Model

Scheduled Pinned Locked Moved The Lounge
question
8 Posts 7 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.
  • M Offline
    M Offline
    Michael Bookatz
    wrote on last edited by
    #1

    So quick straw poll who here has used EDM and is it easy to use and understand or is it a passing fad?

    Weight loss Target Weight at start [1/Feb/2009] 127kg Weight now [17/Feb/2010] 97.5kg Target weight : 80kg Only 17.5 to go hope to be there by July Wish me luck!

    M K P S N 5 Replies Last reply
    0
    • M Michael Bookatz

      So quick straw poll who here has used EDM and is it easy to use and understand or is it a passing fad?

      Weight loss Target Weight at start [1/Feb/2009] 127kg Weight now [17/Feb/2010] 97.5kg Target weight : 80kg Only 17.5 to go hope to be there by July Wish me luck!

      M Offline
      M Offline
      Mustafa Ismail Mustafa
      wrote on last edited by
      #2

      I find the use of Entity diagrams crucial for good database design, but I had to lookup this EDM. Sorry haven't tried it but now that I have heard about it, I will at the nearest opportunity. Thanks.

      If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?

      1 Reply Last reply
      0
      • M Michael Bookatz

        So quick straw poll who here has used EDM and is it easy to use and understand or is it a passing fad?

        Weight loss Target Weight at start [1/Feb/2009] 127kg Weight now [17/Feb/2010] 97.5kg Target weight : 80kg Only 17.5 to go hope to be there by July Wish me luck!

        K Offline
        K Offline
        Keith Barrow
        wrote on last edited by
        #3

        I've used it & it is pretty easy. It's good, but not as powerful as NHibernate yet, for example inheritance handling is poorer and NHibernate can work around "sub-optimal" database design better. I doubt it's a passing fad, but it still needs some development by MS IMO. If it follows the usual MS pattern, by the time it reaches version "3" it'll be better than NHibernate, so my money's on EDM.

        Dalek Dave: There are many words that some find offensive, Homosexuality, Alcoholism, Religion, Visual Basic, Manchester United, Butter. Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.

        S 1 Reply Last reply
        0
        • M Michael Bookatz

          So quick straw poll who here has used EDM and is it easy to use and understand or is it a passing fad?

          Weight loss Target Weight at start [1/Feb/2009] 127kg Weight now [17/Feb/2010] 97.5kg Target weight : 80kg Only 17.5 to go hope to be there by July Wish me luck!

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          I've used it, and I have to agree with Keith. It's got a fair way to go yet, but it is improving; not enough for me to want to commit to using it yet.

          "WPF has many lovers. It's a veritable porn star!" - Josh Smith

          As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

          My blog | My articles | MoXAML PowerToys | Onyx

          1 Reply Last reply
          0
          • M Michael Bookatz

            So quick straw poll who here has used EDM and is it easy to use and understand or is it a passing fad?

            Weight loss Target Weight at start [1/Feb/2009] 127kg Weight now [17/Feb/2010] 97.5kg Target weight : 80kg Only 17.5 to go hope to be there by July Wish me luck!

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

            Yup, we've used the entity framework. Thoughts:

            • More complex than Linq-to-sql.
            • Terrible (no) support for n-tier/disconnected.
            • No support for POCOs at all.
            • Generated classes are partial so are easy to extend.
            • Can do access via stored procs if that's what you're in to.
            • It has basic inheritance support, but is missing more complex scenarios
            • You pretty much have to design your database with it in mind - It would be quite tricky just to pick up and existing database and use EF on it without any changes. Fine for new projects.

            But it does work, and it beats writing stacks of boilerplate SQL code. We use it on a small n-tier client-server app and basically have a server side business layer than maps the generated EF entities into our own business objects. This saves some of the problems with poor n-tier support. Others people have tried coming up with ways of serializing the data context and passing the state around and stuff like that, but it's complex, and doesn't work in every situation. I hear that the EF in .net 4.0 has proper support for both POCOs and n-tier/disconnected architectures so that should improve things somewhat. (Not tried it though). In terms of ORMs I've only every used Linq-to-sql and EF. From what I've heard, SubSonic[^] or NHibernate[^] are more mature, so it might be worth checking those out if you're not committed to EF yet. I'd say ORMs are hear to stay. They've been around for quite a while, EF isn't really anything new, it's just new to Microsoft. The official line is that EF is their future platform for data access.

            Simon

            1 Reply Last reply
            0
            • K Keith Barrow

              I've used it & it is pretty easy. It's good, but not as powerful as NHibernate yet, for example inheritance handling is poorer and NHibernate can work around "sub-optimal" database design better. I doubt it's a passing fad, but it still needs some development by MS IMO. If it follows the usual MS pattern, by the time it reaches version "3" it'll be better than NHibernate, so my money's on EDM.

              Dalek Dave: There are many words that some find offensive, Homosexuality, Alcoholism, Religion, Visual Basic, Manchester United, Butter. Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.

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

              Keith Barrow wrote:

              If it follows the usual MS pattern, by the time it reaches version "3" it'll be better than NHibernate

              That's an interesting point. MS have the resources to move it forward faster than NHibernate is likely to.

              Simon

              R 1 Reply Last reply
              0
              • M Michael Bookatz

                So quick straw poll who here has used EDM and is it easy to use and understand or is it a passing fad?

                Weight loss Target Weight at start [1/Feb/2009] 127kg Weight now [17/Feb/2010] 97.5kg Target weight : 80kg Only 17.5 to go hope to be there by July Wish me luck!

                N Offline
                N Offline
                Not Active
                wrote on last edited by
                #7

                I have been using EF more and more and find it very useful, though with any framework or template it doesn't always match your needs 100%, it is easy to extend or get around it.


                I know the language. I've read a book. - _Madmatt

                1 Reply Last reply
                0
                • S Simon P Stevens

                  Keith Barrow wrote:

                  If it follows the usual MS pattern, by the time it reaches version "3" it'll be better than NHibernate

                  That's an interesting point. MS have the resources to move it forward faster than NHibernate is likely to.

                  Simon

                  R Offline
                  R Offline
                  realJSOP
                  wrote on last edited by
                  #8

                  Just because they can, doesn't mean they will.

                  .45 ACP - because shooting twice is just silly
                  -----
                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                  -----
                  "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                  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