Seems like the problem size is small and persistence is not required, so I'm curious why you use a database at all. Is it more for the querying than the storage? If you don't mind being Windows-specific, LINQ over raw C# objects would be a (nice, simple) possibility. (I'm database-ignorant; trying to learn, not criticize.)