views:

57

answers:

1

Does anyone have a step-by-step guide on how to use nHibernate and SQLite? I can't figure out which dll's I need and which goes in the references and which just need to be copied. I would also like to know how to create the actual file for SQLite.

This is for a small application running .Net 4.0 - I understand some things have changed since 3.0 and NHibernate 1.2...

+1  A: 

DLLs:

  • NHibernate.dll
  • NHibernate.ByteCode.Castle.dll
  • Castle.DynamicProxy2.dll
  • Castle.Core.dll
  • Antlr3.Runtime.dll
  • log4net.dll
  • Iesi.Collections.dll
  • System.Data.SQLite.dll

Creating the db file:

anthony
And I just reference all of them in the project?
Goblin
you will most likely only need to reference NHibernate.dll (and possibly Iesi.Collections.dll depending on how you build your persistent classes). you will need to copy them to your build dir so NHibernate cal load them at runtime.
anthony
Thanks a lot for a speedy reply!
Goblin