$ 0 0 I could be that in 4.1 the foreign key type name is cached. Try looking into /App_Data/Composite/DataMetaData folder, search for Employee data type. And see if it has references to Division