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