Added code generation for EF