Commit Graph

3 Commits

Author SHA1 Message Date
Shannon Deminick
a0e4492a35 New implementation of IDatabaseFactory, allows setting the DatabaseContext.Current at runtime
with a custom IDatabaseFactory (mostly for testing).
Changes AuditTrail to internal so the public way is just with the 'Audit' class.
Fixed ThreadSafetyServiceTests which was failing with the new AuditTrail stuff because of the
Database instances, this is not solved with the new PerThreadDatabaseFactory for the unit test.
Created new 'UmbracoDatabase' object which inherits from the PetaPoco one so that we can future proof
the implementation as we might want some custom logic on there. Now the IDatabaseFactory returns
an UmbracoDatabase instead of just Database.
2012-12-12 03:47:04 +05:00
Morten Christensen
7140922e7a Refactoring installer to use the new datalayer for installation. 2012-11-26 15:57:03 -01:00
Morten@Thinkpad-X220.ab-nat1.dk
46a54d0bc3 Changing abstract migration classes to be a bit more intuitive and actually use the class instead of the decorations.
Added unit test for sample add and drop column changes.
2012-10-13 09:57:45 -02:00