Does EntityFramework Support ComplexType Translate<T> or ExecuteStoreQuery<T>?

Posted by Suning on Stack Overflow See other posts from Stack Overflow or by Suning
Published on 2010-05-08T08:43:31Z Indexed on 2010/05/08 8:48 UTC
Read the original article Hit count: 517

Filed under:

When i use ObjectContext.Translate(DbDataReader) to materialize my own Entity which use ComplexType as property. I encounter this error:

System.InvalidOperationException: Cannot create a value for property '[MyOwnAttribute]' of type '[MyOwnComplexType]'. Only properties with primitive types are supported.

Does EntityFramework Support ComplexType Translate? Or i missed something?

© Stack Overflow or respective owner

Related posts about entity-framework