Преглед на файлове

Support netstandard 2.0 and netstandard 2.1 for mysql storage

master
Savorboard преди 5 години
родител
ревизия
fb0b4e583e
променени са 3 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. +1
    -1
      src/DotNetCore.CAP.MySql/DotNetCore.CAP.MySql.csproj
  2. +1
    -1
      test/DotNetCore.CAP.MySql.Test/ConnectionUtil.cs
  3. +1
    -1
      test/DotNetCore.CAP.MySql.Test/DatabaseTestHost.cs

+ 1
- 1
src/DotNetCore.CAP.MySql/DotNetCore.CAP.MySql.csproj Целия файл

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
<AssemblyName>DotNetCore.CAP.MySql</AssemblyName>
<PackageTags>$(PackageTags);MySQL</PackageTags>
</PropertyGroup>


+ 1
- 1
test/DotNetCore.CAP.MySql.Test/ConnectionUtil.cs Целия файл

@@ -38,7 +38,7 @@ namespace DotNetCore.CAP.MySql.Test

public static MySqlConnection CreateConnection(string connectionString = null)
{
connectionString = connectionString ?? GetConnectionString();
connectionString ??= GetConnectionString();
var connection = new MySqlConnection(connectionString);
connection.Open();
return connection;


+ 1
- 1
test/DotNetCore.CAP.MySql.Test/DatabaseTestHost.cs Целия файл

@@ -34,7 +34,7 @@ namespace DotNetCore.CAP.MySql.Test
var storage = GetService<IStorageInitializer>();
var token = new CancellationTokenSource().Token;
CreateDatabase();
storage.InitializeAsync(token);
storage.InitializeAsync(token).GetAwaiter().GetResult();
_sqlObjectInstalled = true;
}
}


Зареждане…
Отказ
Запис