NHibernate missing or invalid object exceptions, with two databases

Currently, I’m working on a project which involves working with SqLite databases, and one of them is reserved for Undo operations, that is to say, the current state of an object in the main database is persisted to the Undo database file so that it can then be retrieved later on. The reason we are using […]

Posted at 12:40 on 2015/02/04 | Leave a comment | Filed Under: Database | Tagged: , , , | Continue reading

Adding Business rules to your DAOs with Repository.

So if you have a series of POCOs,  and like a good developer you’re using some nice ORM like NHibernate or Entity framework, and you have a Repository pattern going on, but now you want to add in business rules which are more complex than the vanilla validation routines. Where do you put them if […]

Posted at 13:45 on 2015/02/03 | Leave a comment | Filed Under: Uncategorized | Tagged: | Continue reading