Hang on, Omar, I'm almost there in fixing this issue. The code already generates fine now:
this.entityCollection1.EntityFactoryToUse = new Northwind.Adapter.FactoryClasses.EmployeesEntityFactory();
I just have to make sure it resets the code (i.e. regenerates all code in InitializeComponent) when I set the factory to something else. Expect a fix which will never break your code again, very soon.