Yeah. I see what you mean here. And I went the same way. So I suppose at this stage it should be alright to do it using custom SQL from create database.
Thanks a lot for your time spent for this question. Cheers. 2009/10/28 José A. Salvador Vanaclocha <[email protected]> > So sorry but I don't know any better way... > > When I have had to create a database inside a unit test I have done it via > a sql server specific sentence. AFAIK does not exist anything like "hql > sentence" to create the database through nhibernate. > > I put the pattern I follow to create the database via nunit test: > > At the setup section of the test: > > - Create the database > - Populate the database with the necessary data > > At the teardown section of the test: > > - Remove the database > > > Greats. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
