I found it. This works:
var fluentConf = Fluently.Configure()
.Database(pConnection)
.Mappings(m =>
m.FluentMappings.AddFromAssemblyOf<MetaObject>())
.Mappings(m =>
m.FluentMappings.Conventions.AddFromAssemblyOf<MetaObject>())
.ExposeConfiguration(cfg =>
{
cfg.SetEnversProperty(ConfigurationKey.AuditStrategy,
typeof(ValidityAuditStrategy)); // must be first!!!
cfg.IntegrateWithEnvers(GetEnversMappings()); } ).ExposeConfiguration(cfg
=> new SchemaUpdate(cfg).Execute(false, true)); // automatic creation of
tables
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/groups/opt_out.