pk software dev blog

custom microsoft .net application development

23. March 2009 19:00
by Paul

New Project on Codeplex - File System Database

23. March 2009 19:00 by Paul

See http://filesystemdatabase.codeplex.com/

Technorati Tags:

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);
Comments are closed