With this statement
DbConnection.BaseEntitySet.OfType<T>();
you are retrieving all entities of certain type, say Okved
.
Since Okved
has navigation properties of the same type, or collection of this type, all of them will be initialized as well, since this is how the context tracks loaded entities. After certain entity is materialized, all other entities that are loaded in context are updated so that their navigation properties will be set if they point at newly created entity.
To work this out, adjust your Dao method to not include information about properties you don't want to. Mind you if you set entity property to null, it will be considered as entity update, and will be processed if you call SaveChanges of your entity.
Another option is to query entities with MergeOption.NoTracking
option.
http://msdn.microsoft.com/en-us/library/system.data.objects.mergeoption.aspx