Make sure you supply active connection to the SchemaExport.Execute.

2009/8/5 Sachin <sachingupta1...@gmail.com>

>
> Thanks fpr the reply,
> I was able to generate schema in a nhibernate project but when I tried
> the same in Fluent NH, it didnt worked. all the code successfully
> executed but no schema was generated.
> I am using S#arp architecture.
>
> Any suggestions.
>
> On Aug 4, 9:57 am, Dmitiry Nagirnyak <dna...@gmail.com> wrote:
> > new SchemaExport(cfg.Configuration).Execute(false, true, false,
> > session.Connection, null);
> >
> > 2009/8/4 Sachin <sachingupta1...@gmail.com>
> >
> >
> >
> >
> >
> > > Hi
> >
> > > How can I generate DB schema from the entities which I have designed
> > > in my code.
> > > Is there any specific tool for it.
> >
> > > I had tried few code snippets using Nhibernate.tool.... but I couldnt
> > > suceed.
> >
> > > Please suggest
> >
> > > Thanks!- Hide quoted text -
> >
> > - Show quoted text -
>  >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to nhusers@googlegroups.com
To unsubscribe from this group, send email to 
nhusers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to