ORM tool needed
-
Hi! Can somebody suggest me some ORM tools you had good experience with, comercial or not? Thanks, vSoares
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. -
Hi! Can somebody suggest me some ORM tools you had good experience with, comercial or not? Thanks, vSoares
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/
-
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.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
-
Hi! Can somebody suggest me some ORM tools you had good experience with, comercial or not? Thanks, vSoares
-
Maximilien wrote:
ORM ?
Object Relational Mapper
Some people have a memory and an attention span, you should try them out one day. - Jeremy Falcon
-
-
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
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. -
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.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
-
Hi! Can somebody suggest me some ORM tools you had good experience with, comercial or not? Thanks, vSoares
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