Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Microsoft.Data.SqlClient from 3.0.1 to 4.0.0 #138

Merged
merged 2 commits into from
Nov 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class SqlServerGrateTestContext : TestContextBase, IGrateTestContext, IDockerTes
public string DockerCommand(string serverName, string adminPassword) =>
$"run -d --name {serverName} -e ACCEPT_EULA=Y -e SA_PASSWORD={adminPassword} -e MSSQL_PID=Developer -e MSSQL_COLLATION=Danish_Norwegian_CI_AS -P mcr.microsoft.com/mssql/server:2017-latest";

public string AdminConnectionString => $"Data Source=localhost,{Port};Initial Catalog=master;User Id=sa;Password={AdminPassword}";
public string ConnectionString(string database) => $"Data Source=localhost,{Port};Initial Catalog={database};User Id=sa;Password={AdminPassword}";
public string AdminConnectionString => $"Data Source=localhost,{Port};Initial Catalog=master;User Id=sa;Password={AdminPassword};Encrypt=false";
public string ConnectionString(string database) => $"Data Source=localhost,{Port};Initial Catalog={database};User Id=sa;Password={AdminPassword};Encrypt=false";

public DbConnection GetDbConnection(string connectionString) => new SqlConnection(connectionString);

Expand Down
2 changes: 1 addition & 1 deletion grate.unittests/grate.unittests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="JunitXml.TestLogger" Version="3.0.98" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="3.0.1" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="4.0.0" />
<PackageReference Include="FluentAssertions" Version="6.2.*" />
<PackageReference Include="NSubstitute" Version="4.2.*" />
<PackageReference Include="Dapper" Version="2.0.*" />
Expand Down
2 changes: 1 addition & 1 deletion grate/grate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ up using modern .NET 6.
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.*" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.*" />
<PackageReference Include="System.CommandLine" Version=" 2.0.0-*" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="3.0.*" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="4.0.*" />
<PackageReference Include="Dapper" Version="2.0.*" />
<PackageReference Include="Npgsql" Version="6.0.*" />
<PackageReference Include="MySqlConnector" Version="2.0.*" />
Expand Down