Very cool, works again!

Many thanks :)

2009/6/18 James Gregory <[email protected]>

>
> You need to call one of the Build methods, otherwise it doesn't do
> anything.
>
> On Thursday, June 18, 2009, Jan  Limpens <[email protected]> wrote:
> >
> > Thanks, James,
> >
> > a few months at most, but I am not complaining about these changes,
> > they seemed to have made my code more concise as well.
> >
> > From the wiki I used this sniplet for the same thing:
> >
> >                 private static void outputFilesTo(string path)
> >                 {
> >                         Fluently.Configure()
> >                                 .Database(MsSqlConfiguration.MsSql2005)
> >                                 .Mappings(m => m.FluentMappings
> >
>  .AddFromAssemblyOf<OrderMapping>()
> >
>  .ExportTo(path));
> >                 }
> >
> > But nothing is put out at all, the method returns sucessfully.
> >
> > I should need no db connectivity for this, this is a small exe, that
> > does nothing else but outputting hbms to a directory.
> >
> > Any ideas?
> >
> > On Jun 18, 4:32 pm, James Gregory <[email protected]> wrote:
> >> That method was depreciated a long long time ago :)
> >> The getting started
> >> guide<http://wiki.fluentnhibernate.org/show/GettingStartedFirstProject
> >covers
> >> how to build a session factory. As for actually getting an
> >> XmlDocument, you can't without writing something yourself.
> >>
> >> On Thu, Jun 18, 2009 at 8:08 PM, Jan Limpens <[email protected]>
> wrote:
> >> > Whow fluent really _is_ a fluent target :)
> >> > Updated and had to refactor all my mappings. I sincerly hope, my
> mappings
> >> > still work...
> >>
> >> > Anyway
> >> >         public XmlDocument Generate()
> >> >         {
> >> >             return CreateMapping(new MappingVisitor());
> >> >         }
> >>
> >> > will not compile anymore and I did not find a suitable method. What
> should
> >> > I use?
> >>
> >> > Thanks,
> >>
> >> > --
> >> > Jan
> >>
> >>
> > >
> >
>
> >
>


-- 
Jan

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to