Skip to content

Commit

Permalink
Merge pull request #70 from bgrainger/mysqlconnector-1.0
Browse files Browse the repository at this point in the history
Update MySqlConnector to 1.0
  • Loading branch information
arnoldasgudas authored Jul 13, 2020
2 parents 3750e29 + e64c5d5 commit 0bd1016
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Hangfire.MySql.Tests/CountersAggregatorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Linq;
using System.Threading;
using Dapper;
using MySql.Data.MySqlClient;
using MySqlConnector;
using Xunit;

namespace Hangfire.MySql.Tests
Expand Down
2 changes: 1 addition & 1 deletion Hangfire.MySql.Tests/ExpirationManagerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Linq;
using System.Threading;
using Dapper;
using MySql.Data.MySqlClient;
using MySqlConnector;
using Xunit;

namespace Hangfire.MySql.Tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Transactions;
using Dapper;
using Hangfire.MySql.JobQueue;
using MySql.Data.MySqlClient;
using MySqlConnector;
using Xunit;

namespace Hangfire.MySql.Tests.JobQueue
Expand Down
2 changes: 1 addition & 1 deletion Hangfire.MySql.Tests/JobQueue/MySqlJobQueueTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Dapper;
using Hangfire.MySql.JobQueue;
using Moq;
using MySql.Data.MySqlClient;
using MySqlConnector;
using Xunit;

namespace Hangfire.MySql.Tests.JobQueue
Expand Down
2 changes: 1 addition & 1 deletion Hangfire.MySql.Tests/Monitoring/MySqlMonitoringApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Hangfire.MySql.Monitoring;
using Hangfire.Storage.Monitoring;
using Moq;
using MySql.Data.MySqlClient;
using MySqlConnector;
using Xunit;

namespace Hangfire.MySql.Tests.Monitoring
Expand Down
2 changes: 1 addition & 1 deletion Hangfire.MySql.Tests/MySqlStorageConnectionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using Hangfire.Server;
using Hangfire.Storage;
using Moq;
using MySql.Data.MySqlClient;
using MySqlConnector;
using Xunit;

namespace Hangfire.MySql.Tests
Expand Down
2 changes: 1 addition & 1 deletion Hangfire.MySql.Tests/MySqlWriteOnlyTransactionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Hangfire.MySql.JobQueue;
using Hangfire.States;
using Moq;
using MySql.Data.MySqlClient;
using MySqlConnector;
using Xunit;

namespace Hangfire.MySql.Tests
Expand Down
2 changes: 1 addition & 1 deletion Hangfire.MySql.Tests/Utils/ConnectionUtils.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using MySql.Data.MySqlClient;
using MySqlConnector;

namespace Hangfire.MySql.Tests
{
Expand Down
2 changes: 1 addition & 1 deletion Hangfire.MySql.Tests/Utils/TestDatabaseFixture.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Threading;
using Dapper;
using MySql.Data.MySqlClient;
using MySqlConnector;

namespace Hangfire.MySql.Tests
{
Expand Down
2 changes: 1 addition & 1 deletion Hangfire.MySql/ExpirationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Dapper;
using Hangfire.Logging;
using Hangfire.Server;
using MySql.Data.MySqlClient;
using MySqlConnector;

namespace Hangfire.MySql
{
Expand Down
2 changes: 1 addition & 1 deletion Hangfire.MySql/Hangfire.MySql.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.4.1" />
<PackageReference Include="MySqlConnector" Version="0.47.1" />
<PackageReference Include="MySqlConnector" Version="1.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
<PackageReference Include="Dapper" Version="1.50.5" />
<PackageReference Include="Hangfire.Core" Version="1.6.21" />
Expand Down
4 changes: 1 addition & 3 deletions Hangfire.MySql/JobQueue/MySqlJobQueue.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
using System;
using System.Data;
using System.Globalization;
using System.Linq;
using System.Threading;
using Dapper;
using Hangfire.Annotations;
using Hangfire.Logging;
using Hangfire.Storage;
using MySql.Data.MySqlClient;
using MySqlConnector;

namespace Hangfire.MySql.JobQueue
{
Expand Down
2 changes: 1 addition & 1 deletion Hangfire.MySql/Monitoring/MySqlMonitoringApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using Hangfire.States;
using Hangfire.Storage;
using Hangfire.Storage.Monitoring;
using MySql.Data.MySqlClient;
using MySqlConnector;

namespace Hangfire.MySql.Monitoring
{
Expand Down
3 changes: 1 addition & 2 deletions Hangfire.MySql/MySqlObjectsInstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
using System.IO;
using System.Reflection;
using System.Text;
using System.Transactions;
using Dapper;
using Hangfire.Logging;
using MySql.Data.MySqlClient;
using MySqlConnector;

namespace Hangfire.MySql
{
Expand Down
2 changes: 1 addition & 1 deletion Hangfire.MySql/MySqlStorage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using Hangfire.MySql.Monitoring;
using Hangfire.Server;
using Hangfire.Storage;
using MySql.Data.MySqlClient;
using MySqlConnector;
using IsolationLevel = System.Transactions.IsolationLevel;

namespace Hangfire.MySql
Expand Down
2 changes: 1 addition & 1 deletion Hangfire.MySql/MySqlWriteOnlyTransaction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Hangfire.Logging;
using Hangfire.States;
using Hangfire.Storage;
using MySql.Data.MySqlClient;
using MySqlConnector;

namespace Hangfire.MySql
{
Expand Down

0 comments on commit 0bd1016

Please # to comment.