Generic code generator for Entity Framework