Hi! I'm trying to play with EF 4.0 and Firebird .NET Provider and have such problem which i can't solve.
A have an entity object (Manufacturer) materialized by some ObjectContext. I need to edit this object. For editor i'm creating new ObjectContext, pass EntityKey of my manufacturer and trying to materialize same manufacturer in this new context using entity key: ObjectContext.GetObjectByKey(editedObjectKey); And instead of object i'm getting an exception: System.InvalidOperationException: Object mapping could not be found for Type with identity 'JewelyModel.Manufacturer'. at System.Data.Metadata.Edm.MetadataWorkspace.ImplicitLoadFromEntityType(EntityType type, Assembly callingAssembly) at System.Data.Objects.ObjectContext.GetObjectByKey(EntityKey key) What can it be? I can't find the solution :-( ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider