Sure, here's my code:
IPersistenceConfigurer database =
MsSqlConfiguration.MsSql2005.ConnectionString("MyConnectionString");
Configuration configNH = new Configuration();
Fluently.Configure(configNH)
.Database(database)
.Mappings(
m => m.FluentMappings.AddFromAssembly
(MySpecificAssembly)
.ExportTo(txtPath.Text))
.ExposeConfiguration(
c => new SchemaExport(c).SetOutputFile
(txtPath.Text + "\\script.sql").Execute
(false, true, false))
.BuildSessionFactory();
When I run this code no errors are thrown, and the same routine works
for other mappings,
but the error is when the inheritance is from another assembly, like I
explain before.
Thanks for any help.
> > > >
fluent-nhibern...@googlegroups.com<fluent-nhibernate%2Bunsubscr
i...@googlegroups.com>
> > .
> > > > For more options, visit this group at
> > > >
http://groups.google.com/group/fluent-nhibernate?hl=en.-Ocultar texto
> > de la cita -
>
> > > - Mostrar texto de la cita -
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Fluent NHibernate" group.
> > To post to this group, send email to
fluent-n...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
fluent-nhibern...@googlegroups.com<fluent-nhibernate%2Bunsubscr
i...@googlegroups.com>
> > .