Ejemplo n.º 1
0
 public void Dispose()
 {
     try {
         if ((LobInstance != null) && (LobInstance.CurrentConnection != null))
         {
             LobInstance.CloseConnection();
         }
     } catch {
     }
 }
Ejemplo n.º 2
0
        public void Dispose()
        {
            try {
                if ((LobInstance != null) && (LobInstance.CurrentConnection != null))
                {
                    LobInstance.CloseConnection();
                }
#if !SP12
                if (bdcCat != null)
                {
                    bdcCat.Dispose();
                }
#endif
            } catch {
            }
        }