Hi Justin, ... entity that the ORM generated in the infrastructure layer, how would we extend the ORM employee entity to have a method to have the business...
There is nothing like a good ORM that allows one to your Domain Objects clean without much fuss. If that is not possible you can always hinherit or do...
... OTOH, EF entities have to inherit from EntityObject which directly couples the entities to infrastructure < Sure it links them to EF, but why is that a...
That's not the case any more : http://fabiomaulo.blogspot.com/2008/10/entity-name-in-action-entity.html It is a problem, because it pushes you to to have a...
Hi Pete, One thing is that it can give more responsibilities that are not related to domain for a domain object, also by deriving from EF it is strongly tied...
... From: Sidar Ok Seems that you are bitten by "Entity Framework Leaking into Domains" syndrome. You need a NH or Linq 2 SQl pill to recover :) How can linq...
Assuming ordered events isn't advisable, unless you want your entire system to process only one thing at any time. The ability to do things in parallel at a...
... This is rarely advisable. We don't want our domain model to depend on the message schema (and vice versa). While, within a given bounded context, we may...
I think that we can agree that which internal objects are used within what you call an aggregate root, and the method called on that aggregate root may change...
Nuno, Since the information passed to the domain originated in the incoming message, it can be used to create outbound messages as well. In other cases where...
... applying any sort of NO-like approach I didn't know that that was a goal :-) About prototyping: Personally I like paper prototypes to start with, then...
Thanks for the advice Udi. After a bit of thought, our domain model wasn't quite as refined as it needed to be. A few small revisions virtually eliminated...
... From: Sidar Ok To: domaindrivendesign@yahoogroups.com http://www.sidarok.com/web/blog/content/2008/10/14/achieving Thanks. Did you ever figure out a lazy...
Udi, ... That is why I never went that far witn webservices. But I was wondering if there was some "magic" happening there as messaging (publish/subcribe) is...
... The rarity that this is advisable is one thing that Udi and I differ on. I have found numerous environments (mostly simple) where this actually can be a...
Udi and Greg, The reason I found it interesting is that in one way or another content of the message is a interpretation of the arguments given to the method...
Hi Sidar, Out of interest - is it possible to achieve that sort of mapping in L2S without the public (and virtual) getters/setters, the DB foreign keys and the...
... This is undoubtedly a dumb question, but how can one determine whether this is advisable in a particular environment? Are there specific characterstics...
All, Is it possible to have an aggregate of value objects? I understand that you can have an aggregate of entities, but is it also possible to have an...
All, Is it legal in DDD theory to have a value object contain an entity? Or, are only entities to contain value objects? I'm trying to see what the standard is...
... Of course. The systems I work on the risk tends to be on the business requirements side (are we building the right thing?) rather than technical risk (we...
... Yes, "in theory" a value object can *refer* to an entity (it doesn't contain it). But it does bind it to a particular domain model. That said, most (95%,...
Hi Michael, Unfortunately I didn't dig in further than supporting lazy loading for POCOs with dynamic proxies. You and anybody else are always welcome to take...
Hi there everyone, I got talking with a college about LINQ yesterday and how this fits into the scheme of things when we come to derive our domian model. I...
Good day! I am hoping to write a web survey application, but I'm at a lost where to start. I've tried to search for open-source samples, but they use xml files...
Hi Andrew, First what you refer as LINQ seems to be LINQ to SQL. LINQ is a query language in C# code, and is agnostic from a DB, ORM, DataSets or XML. Linq to...
to me one of the key concepts of value objects is they are immutable... so in answer to your question IMO yes a value object can contain an entity because you...