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. ORM tool needed

ORM tool needed

Scheduled Pinned Locked Moved The Lounge
toolsquestion
10 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.
  • V Offline
    V Offline
    vSoares
    wrote on last edited by
    #1

    Hi! Can somebody suggest me some ORM tools you had good experience with, comercial or not? Thanks, vSoares

    P L M J 4 Replies Last reply
    0
    • V vSoares

      Hi! Can somebody suggest me some ORM tools you had good experience with, comercial or not? Thanks, vSoares

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

      I'm currently working with DevExpress Persistent Objects. It takes a little bit of getting used to, but once you have got your head round it, it is really slick. It goes beyond traditional ORM tools because it can also generate your DB schema directly from your code. That's a really cool feature. Alternatively, I've also used NHibernate.

      the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
      Deja View - the feeling that you've seen this post before.

      K 1 Reply Last reply
      0
      • V vSoares

        Hi! Can somebody suggest me some ORM tools you had good experience with, comercial or not? Thanks, vSoares

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

        I like MyGeneration: http://www.mygenerationsoftware.com/[^] It's easy to use and it's free - I would suggest EasyObjects.NET for your data layer, or doodads, you can find info on both at their site.

        Anthony Collins MCSD, MCDBA anthony@slotzero.com http://www.slotzero.com/

        1 Reply Last reply
        0
        • P Pete OHanlon

          I'm currently working with DevExpress Persistent Objects. It takes a little bit of getting used to, but once you have got your head round it, it is really slick. It goes beyond traditional ORM tools because it can also generate your DB schema directly from your code. That's a really cool feature. Alternatively, I've also used NHibernate.

          the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
          Deja View - the feeling that you've seen this post before.

          K Offline
          K Offline
          Kevin McFarlane
          wrote on last edited by
          #4

          Not used any of these tools because I haven't yet worked at a site that's used anything like this. But how does Persistent Objects compare with NHibernate? I already own Refactor! Pro and find it slick.

          Kevin

          P 1 Reply Last reply
          0
          • V vSoares

            Hi! Can somebody suggest me some ORM tools you had good experience with, comercial or not? Thanks, vSoares

            M Offline
            M Offline
            Maximilien
            wrote on last edited by
            #5

            ORM ?


            Maximilien Lincourt Your Head A Splode - Strong Bad

            P V 2 Replies Last reply
            0
            • M Maximilien

              ORM ?


              Maximilien Lincourt Your Head A Splode - Strong Bad

              P Offline
              P Offline
              Paul Conrad
              wrote on last edited by
              #6

              Maximilien wrote:

              ORM ?

              Object Relational Mapper


              Some people have a memory and an attention span, you should try them out one day. - Jeremy Falcon

              1 Reply Last reply
              0
              • M Maximilien

                ORM ?


                Maximilien Lincourt Your Head A Splode - Strong Bad

                V Offline
                V Offline
                vSoares
                wrote on last edited by
                #7

                Object Relational Mapping vSoares

                1 Reply Last reply
                0
                • K Kevin McFarlane

                  Not used any of these tools because I haven't yet worked at a site that's used anything like this. But how does Persistent Objects compare with NHibernate? I already own Refactor! Pro and find it slick.

                  Kevin

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

                  I prefer Persistent Objects because it just feels more natural. For instance, here's a simple class for creating a role: public class AutomatedBase : XPObject { public AutomatedBase(Session session) : base(session) {} private string _name; public string Name { get { return _name ; } set {_name = value ; } } } public class Role : AutomatedBase { public Role(Session session) : base(session) {} private bool _canEdit; public bool CanEdit { get { return _canEdit ; } set { _canEdit = value ; } } } public class User : AutomatedBase { public User(Session session) : base(session) {} [Assocation("User-Roles")] public XPCollection<Role> Roles { get { return GetCollection<Role>("Roles") ; } } } This will create the database structure and the collection of roles that the user has, all derived from a common base object.

                  the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
                  Deja View - the feeling that you've seen this post before.

                  K 1 Reply Last reply
                  0
                  • P Pete OHanlon

                    I prefer Persistent Objects because it just feels more natural. For instance, here's a simple class for creating a role: public class AutomatedBase : XPObject { public AutomatedBase(Session session) : base(session) {} private string _name; public string Name { get { return _name ; } set {_name = value ; } } } public class Role : AutomatedBase { public Role(Session session) : base(session) {} private bool _canEdit; public bool CanEdit { get { return _canEdit ; } set { _canEdit = value ; } } } public class User : AutomatedBase { public User(Session session) : base(session) {} [Assocation("User-Roles")] public XPCollection<Role> Roles { get { return GetCollection<Role>("Roles") ; } } } This will create the database structure and the collection of roles that the user has, all derived from a common base object.

                    the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
                    Deja View - the feeling that you've seen this post before.

                    K Offline
                    K Offline
                    Kevin McFarlane
                    wrote on last edited by
                    #9

                    Hmmm. I'll have to read that up and maybe download a trial. "With XPO, you can start your database application development directly from the object model. You never have to spend your time on tables, columns, keys and constraints - just roll up your sleeves and focus on writing code! XPO will allow you to focus on important application-specific functionality, rather than on pain-in-the-neck database issues." Yeah, that's more the kind of thing I'd be looking for. I did read a little on NHibernate and it did seem to be substituting one set of tedious stuff for another!

                    Kevin

                    1 Reply Last reply
                    0
                    • V vSoares

                      Hi! Can somebody suggest me some ORM tools you had good experience with, comercial or not? Thanks, vSoares

                      J Offline
                      J Offline
                      Jan Limpens
                      wrote on last edited by
                      #10

                      I have used Gentle.net in a few project (an am using it right now) and have been very impressed with its features. http://www.mertner.com/confluence/display/Gentle/Home Plus you can use it together with mygeneration and you will get most of your code generated. Mind if you get the pre release 2.0 version from cvs you should stick to another design paradigm which, by my knowledge, so far was not converted to a mygeneration template. 2.0 is cool because it uses generics and is streamlined in many ways, but I have not used it yet in production. Jan

                      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