internal void ClientInit(IRemoteProxyDefinition connection)
 {
     this.connection = connection;
 }
 /// <summary>
 /// Initializes a new instance of the RemoteTransaction class
 /// </summary>
 /// <param name="proxy">the proxy object that enables thsi object to control the original object on the server</param>
 /// <param name="objectId">the id of the original object</param>
 public RemoteTransaction(IRemoteProxyDefinition proxy, long objectId)
 {
     this.objectId = objectId;
     this.proxy    = proxy;
 }
 public DatabaseProxyClient(IBaseClient communicationObject, string serverProxyName)
 {
     proxy     = communicationObject.CreateProxy <IRemoteProxyDefinition>(serverProxyName);
     sessionId = proxy.AcquireConnection();
 }