I will not suggest that thing, but if you are looking for this you could use
an artifact that we have in unhaddins.
First of all, read this :
http://fabiomaulo.blogspot.com/2008/11/entities-behavior-injection.html


<http://fabiomaulo.blogspot.com/2008/11/entities-behavior-injection.html>We
don't have an adapter for StructureMap, implementation is very
straightforward.

Take a look to the castle adapters:
http://code.google.com/p/unhaddins/source/browse/#svn/trunk/uNhAddIns/uNhAddIns.CastleAdapters
<http://code.google.com/p/unhaddins/source/browse/#svn/trunk/uNhAddIns/uNhAddIns.CastleAdapters>or
spring adapters:
http://code.google.com/p/unhaddins/source/browse/#svn/trunk/uNhAddIns/uNhAddIns.SpringAdapters



2009/8/28 Brendan Erwin <[email protected]>

> I'm thinking of wiring up StructureMap to provide IoC within NH so I can
> inject my DAOs into my domain models.
> In doing the research I see a lot of people speaking out against having
> dependencies in ones domain, but the way I see it my data access strategies
> and policies *are* part of my domain. How wrong am I?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to