Hi,
We have a service layer interface specification that all my objects in the domain layer conform to.
i.e. Account conforms to IAccount, Customer conforms to ICustomer.
Within the data layer I want Nhibernate to create an instance of Customer when I request an ICustomer.
I have searched the forums and help and it seems lots of people have this design issue but no one has posted a solution.
Now I have seen that the mapping file has a 'Proxy' setting. Can I simply specifiy the interface as the proxy?
Thanks in advance
Russ
|