Example #1
0
 public Connection(Connection orig)
     : this(djonwrapperPINVOKE.new_Connection__SWIG_2(Connection.getCPtr(orig)), true)
 {
     if (djonwrapperPINVOKE.SWIGPendingException.Pending) throw djonwrapperPINVOKE.SWIGPendingException.Retrieve();
 }
Example #2
0
 public static void releaseConnection(Connection conn)
 {
     djonwrapperPINVOKE.ConnectionManager_releaseConnection(Connection.getCPtr(conn));
 }
Example #3
0
 internal static HandleRef getCPtr(Connection obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }