Scenario
- Visual Studio 2010
- Silverlight 4
- Entity Framework
- Self-tracking entities
Problem
On the server side, we have generated entity objects using Entity Framework model. We have used self tracking T4 templates to generate the entities. These entities are shared and can be used from the client side (Silverlight 4 project).
But when we try to add a new Web Service reference, the proxy generator don't work. The reference.cs file is empty. We have checked the option 'Reuse Types' in the configuration of the Web Reference. We have checked the assemblies that will be shared (entity assemblies only).
We have tried to remove every (IsReference=true) from DataContract attributes of the entities but it did not work.
Any idea or workaround?