-
[ my Blog ] Do you remember this post ? As you can see you can use Dependency Injection even for entities, but what about all others classes needed by NHibernate ? Can you inject something in a custom Dialect or in a custom UserType or UserCollectionType or Listener and all others extensions points ...
-
A new Dynamic-Proxy provider is available in NHibernate trunk ( here the others two) Erich Eichinger (Spring.NET team member) sent us the implementation of NHibernate.ByteCode.Spring . The property to configure is < property name = " proxyfactory.factory_class " > NHibernate.ByteCode...
-
If you are working with NH you know that NH likes POCOs and you must have a default constructor without parameters. Starting from today that is the past. The domain The implementation of Invoice is: public class Invoice : IInvoice { private readonly IInvoiceTotalCalculator calculator; public Invoice...