update MySqlConnector 1.0.0

This commit is contained in:
28810
2020-07-19 07:22:48 +08:00
parent 7471df5924
commit 4a4647de1d
13 changed files with 41 additions and 30 deletions

View File

@ -26,7 +26,7 @@
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'net452'">
<PackageReference Include="MySql.Data" Version="8.0.20" />
<PackageReference Include="MySql.Data" Version="8.0.21" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net451' or '$(TargetFramework)' == 'net45' or '$(TargetFramework)' == 'net40'">

View File

@ -1,12 +1,16 @@
using FreeSql.Internal;
using FreeSql.Internal.Model;
using MySql.Data.MySqlClient;
using FreeSql.Internal.ObjectPool;
using System;
using System.Collections;
using System.Data.Common;
using System.Text;
using System.Threading;
#if MySqlConnector
using MySqlConnector;
#else
using MySql.Data.MySqlClient;
#endif
namespace FreeSql.MySql
{

View File

@ -1,5 +1,4 @@
using MySql.Data.MySqlClient;
using FreeSql.Internal.ObjectPool;
using FreeSql.Internal.ObjectPool;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
@ -7,6 +6,11 @@ using System.Data;
using System.Data.Common;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
#if MySqlConnector
using MySqlConnector;
#else
using MySql.Data.MySqlClient;
#endif
namespace FreeSql.MySql
{

View File

@ -1,12 +1,16 @@
using FreeSql.Internal;
using FreeSql.Internal.Model;
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
#if MySqlConnector
using MySqlConnector;
#else
using MySql.Data.MySqlClient;
#endif
namespace FreeSql.MySql
{

View File

@ -1,13 +1,17 @@
using FreeSql.DatabaseModel;
using FreeSql.Internal;
using FreeSql.Internal.Model;
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
#if MySqlConnector
using MySqlConnector;
#else
using MySql.Data.MySqlClient;
#endif
namespace FreeSql.MySql
{

View File

@ -1,6 +1,10 @@
using FreeSql.Internal;
using FreeSql.Internal.Model;
#if MySqlConnector
using MySqlConnector;
#else
using MySql.Data.MySqlClient;
#endif
using System;
using System.Collections.Generic;
using System.Data.Common;