Thanks Dmitiry, I am using the active connection only, the same code when executed on a NH project executed successfully but when I executed it to my S#arp project, it executed without producing any output.
On Aug 5, 9:03 am, Dmitiry Nagirnyak <[email protected]> wrote: > Make sure you supply active connection to the SchemaExport.Execute. > > 2009/8/5 Sachin <[email protected]> > > > > > > > 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 <[email protected]> wrote: > > > new SchemaExport(cfg.Configuration).Execute(false, true, false, > > > session.Connection, null); > > > > 2009/8/4 Sachin <[email protected]> > > > > > 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 -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
