23. March 2009 19:00
by Paul
See http://filesystemdatabase.codeplex.com/
It’s a pretty basic set of classes (repository) using JSON files to store data. The intention is for small websites. I’ll add more as I implement it…
The hard stuff is done by
Some sample code…
// get all people...
Person[] people = Repository.GetAll<Person>();
// get a Pet instance (where "Kofi" is the "ID" of the "Pet" object)
Pet myDog = Repository.Get<Pet>("Kofi");
// save changes
Repository.Save(myDog);