/// <summary> /// Closes the connection to the database. /// </summary> public void Close() { if (NativeConnection == null) { return; } NativeConnection.Dispose(); NativeConnection = null; }