C#
Parameters
- resource
The contract must return ((EntityLazyProxy)resource).Entity.Value, but it is probably to return a proxy, which would be premature not to make a query in the database. In this case, all parts of the code that use the returned object must be aware of the EntityLazyProxy. Used in: EntityDataServiceQueryProvider.GetResourceType () Called after the SaveChanges call to serialize the resource for the POST methods
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2