I am using NHibernate as my ORM, and for unit testing purpose I am using sqlite as a substitute database.
In order to have meaningful unit test I need to populate the tables. How to do this in NHibernate? Even though my unit testing database is sqlite, I would prefer a db independent scripts that allow me to do that.
Does Nhibernate support this out of box? Or I have to resort to using NHibernate Save
method to do the insertion?
P/S: Some of the ORM or framework in other language ( such as Symfony in PHP), supports this via yml.