A simple DB framework in C# and Design Patterns