This reverts commit 44bbb8700e.
44bbb8700e
Also add finaliser logic for safety. Also better threading. Also more cleanup.
Consitent with "FrameworkActionContainer".
No database-level where clauses were being used in many cases they should be.
There is now a CreateContext method for retrieving a stand-alone context for threaded use. We may want to add safety against this context being disposed (or just return a fresh one if it is).