Some time ago I blogged about a technique to use SqLite in Unit testing when you have nhibernate mapping that targets Sql Server tables in a schema different from dbo. The problem was: if you specify the schema name in the mapping of a class, then you are not able to execute the test in SqLite database. Ex. if you have this mapping.
This is a mapping for a table called EngagementView in a schema called report and when u try to run some test on this entity with SqLite you got an error telling that there is no report database. The solution is to use the schema element of the mapping. The right schema should be <class name="xxxxx"
schema="report" table="EngagementView" />Read more: Alkampfer's Place
QR:
schema="report" table="EngagementView" />Read more: Alkampfer's Place
QR: