src/EntityFramework/Infrastructure/Design/ForwardingProxy.cs
// <summary>
// Intercepts method invocations on the object represented by the current instance
// and forwards them to the target to finish processing.
// </summary>
Intercepts method invocations on the object represented by the current instance
and forwards them to the target to finish processing.
Intercepts method invocations on the object represented by the current instance and forwards them to the target to finish processing .
public override IMessage Invoke(IMessage msg)
        {
            DebugCheck.NotNull(msg);
            new MethodCallMessageWrapper((IMethodCallMessage)msg).Uri = RemotingServices.GetObjectUri(_target);
            return RemotingServices.GetEnvoyChainForProxy(_target).SyncProcessMessage(msg);
        }
public override IMessage Invoke ( IMessage msg ) { DebugCheck . NotNull ( msg ) ; new MethodCallMessageWrapper ( ( IMethodCallMessage ) msg ) . Uri = RemotingServices . GetObjectUri ( _target ) ; return RemotingServices . GetEnvoyChainForProxy ( _target ) . SyncProcessMessage ( msg ) ; }
Intercepts method invocations on the object represented by the current instance
and forwards them to the target to finish processing.
Intercepts method invocations on the object represented by the current instance and forwards them to the target to finish processing .
// NOTE: This sets the wrapped message's Uri
msg
IMessage