Hi all,
I have a SOA application. 1. data layer: Entity Framework 2. Service layer: WCF 3. presentation layer: silverlight
Now, in silverlight I want to use data types from data layer. I cannot add a direct reference to entity framework because silverlight is using a different .net CLR. So I added a service reference hoping it will recreate thoses types in reference.cs. However, it still doesn't work. The service call return a error message "The remote server returned an error: NotFound.". This only happens when the service function has a entity framework data types as return type. If a function returns a common type like a string, everything will work. So I am almost sure the problem is caused by type translation.
Does anybody know how to reference data types defined in entity framework, in a silverlight project.
Thank you very much!