Ejemplo n.º 1
0
 private Connection()
 {
     gdaProxy = new NetworkModelGDAProxy("NetworkModelGDAEndpoint");
     try
     {
         gdaProxy.Open();
     }
     catch
     {
         MessageBox.Show("Service host is not started.");
     }
 }
Ejemplo n.º 2
0
 public TestGda()
 {
     if (gdaQueryProxy == null)
     {
         gdaQueryProxy = new NetworkModelGDAProxy("NetworkModelGDAEndpoint");
         try
         {
             gdaQueryProxy.Open();
         }
         catch
         {
         }
     }
 }