0

I'd prefer a commercial solution. So not NHibernate. Now i'm playing with LLBLGen pro and i like it but it doesn't seem be DDD friendly.

Toran Billups
  • 27,111
  • 40
  • 155
  • 268
user137348
  • 10,166
  • 18
  • 69
  • 89
  • How, exactly, would you like it to be 'DDD' friendly? It's an awesome ORM. – Noon Silk Aug 23 '09 at 11:24
  • why don't you like non commercial? What is wrong with NHibernate? – Nathan W Aug 23 '09 at 11:48
  • 2
    I don't recall any mention of ORM in Eric Evans' domain driven design book. If the phrase means concentrating on the problem at hand, how does the choice of a specific persistence technique matter at all? Once you have the domain sorted out, you're free to persist it any way you wish. – duffymo Aug 23 '09 at 12:44
  • 3
    Your question is poorly stated. I can't see how anyone could answer it effectively. 1) Why would you prefer a commercial solution? Knowing that may affect the answers you receive. 2) You didn't give enough information about your experiences with LLBLGen Pro. What *exactly* isn't DDD-friendly? 3) What are your expectations for answers to this question? – Bryan Watts Aug 23 '09 at 16:15

4 Answers4

6

Mindscape's LightSpeed O/R Mapper was built with DDD in mind from the beginning.

If by "DDD friendly" you meant that the ORM supports concepts and patterns such as Entities and Value Objects, Unit of Work, Repository, Specification and Aggregates then certainly LightSpeed uses these.

Mindscape LightSpeed ORM

The other comments are valid however - could you define DDD friendly in more detail please? I'm also sure that most modern ORMs support at least some of the aspects that I've highlighted here.

traskjd
  • 1,008
  • 5
  • 7
3

Try DataObjects.Net, it automatically generates database schema from model classes and allows to work with domain model, rather than with database. I think it is pretty good for DDD.

Alex Kofman
  • 2,153
  • 19
  • 20
1

NHibernate now has commercial support and would be my recommendation - you can start object first and it has LINQ support now that LINQ to NHibernate is 1.0

Works with SQL Server/Oracle/DB2/etc

Toran Billups
  • 27,111
  • 40
  • 155
  • 268
0

Try ECO. It is commercial but is free to try and unlimited use up to 12 classes. And you can do a lot with 12 classes. It has reached version 5 so it is mature.

Roland Bengtsson
  • 5,058
  • 9
  • 58
  • 99