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