2009/6/24 Josh Rogers <[email protected]>

> My struction is this:
>
> winForm -> Logic Layer -> DAL -> NH -> DB
>
> I am sure the CpBT would work perfectly for me, I have no doubt that you
> know exactly what your talking about, the problem is I can't understand when
> or how to use it.
>

Well... that is very similar to the architecture of Gustavo's example.winForm
-> Presenter -> Model -> Dao -> NH -> DB
In your case you only need to call the ServiceLocator to have an instance of
what you have named  "Logic Layer" after that the implementation of AOP (so
far Castle or Spring) will do what is needed.
The uNhAddIns group is
http://groups.google.com/group/unhaddins

Another very simple example, in a console instead winForm (I'm sorry but
would maintain my work in the back-end), is available
here<http://code.google.com/p/unhaddins/source/browse/#svn/trunk/uNhAddIns/uNhAddIns.Example.AopConversationUsage>
.

-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
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