Thanks for the quick reply, i forgot to add the expose configuration part on
my example .I've add the expose configurations lines following the
guidelines on the wiki part of schemaexport, but I'm still getting the same
exception.
ISessionFactory factory = Fluently.Configure()
.Database(SQLiteConfiguration.Standard.InMemory)
.Mappings(m =>
m.FluentMappings
.AddFromAssemblyOf<User>())
.ExposeConfiguration(BuildSchema)
.BuildSessionFactory();
private static void BuildSchema(Configuration cfg)
{
new SchemaExport(cfg)
.Create(false, true);
}
I'm doing something else wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---