I can't figure out the reason of the strange behaviour of my entity. I'm using POCO classes generated from the database with the dbContext template introduced with the CTP5. In my DbContext I have several entities and when I use them, they are proxies except one. This entity was generated as the others and it has only 3 simple attributes. I found a thread related What causes POCO proxy entities to only sometimes be created in Entity Framework 4, but all my entities were added with the new keyword, I never use the CreateObject for any object.
Customer customer = new Customer();
customer.ID = "ID";
customer .Name = "Name";
repository.add(customer);
repository.Save();
Why only it isn't a proxy? I checked also the requirements to be a proxy defined here http://msdn.microsoft.com/en-us/library/dd468057.aspx and the properties that I should define in my entity model and all follows the guidelines. Thanks