public static void Close() { if (MySQL1.SQL != IntPtr.Zero) { MySQL1.mysql_close(MySQL1.SQL); } MySQL1.IsConnected = false; }
public static void Disconnect() { if (!(MySQL1.SQL == IntPtr.Zero)) { MySQL1.QueueThread = null; MySQL1.mysql_close(MySQL1.SQL); MySQL1.IsConnected = false; } }