Source

NHibernate.Envers.SetForNet4 /

Filename Size Date modified Message
NHibernate.Envers.SetForNet4
NHibernate.Envers.SetForNet4Test
lib
402 B
1.7 KB
760 B
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[ConfigurationKey.CollectionProxyMapperFactory] 
				= typeof(CollectionProxyMapperFactoryForNet4).AssemblyQualifiedName;



Supports NHibernate.Envers 1.0 CR 2 and later.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.