Commits

Roger Kratz  committed e82b2fe

adding readme.txt

  • Participants
  • Parent commits c86465a

Comments (0)

Files changed (1)

+This lib makes NH Envers support NHibernate.SetForNet4.
+
+To use this lib...
+
+1: Copy/paste the files in NHiberate.Envers.SetForNet4 to your infrastructure layer
+or
+1: Build NHibernate.Envers.SetForNet4. Make sure correct NHibernate and NHibernate.Envers assemblies are referenced. Put this assembly to your bin folder.
+
+2: You need configure both NH Core and NH Envers. Something like...
+//for nh core
+configuration.Properties[Environment.CollectionTypeFactoryClass] 
+				= typeof(Net4CollectionTypeFactory).AssemblyQualifiedName;
+//for nh envers
+configuration.Properties["nhibernate.envers.collection_proxy_mapper_factory"] 
+				= typeof(CollectionProxyMapperFactoryForNet4).AssemblyQualifiedName;
+
+
+
+Supports NHibernate.Envers 1.0 CR 2 and later.