Skip to content

Commit fea7d0a

Browse files
committed
Update Microsoft.Data.SqlClient to latest version
1 parent b4cd183 commit fea7d0a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/SimpleStack.Orm.SQLServer/SimpleStack.Orm.SQLServer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</ItemGroup>
2626

2727
<ItemGroup>
28-
<PackageReference Include="Microsoft.Data.SqlClient" Version="2.0.0" />
28+
<PackageReference Include="Microsoft.Data.SqlClient" Version="4.1.0" />
2929
</ItemGroup>
3030

3131
</Project>

test/SimpleStack.Orm.Tests/ExpressionTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public T GetValue<T>(T item)
208208

209209
public class PostgreSQLTests : ExpressionTests
210210
{
211-
public PostgreSQLTests() : base(new PostgreSQLDialectProvider(),"server=localhost;user id=postgres;password=depfac$2000;database=test;Enlist=true")
211+
public PostgreSQLTests() : base(new PostgreSQLDialectProvider(),"server=localhost;port=25432;user id=postgres;password=Simplestack2022!;database=test;Enlist=true")
212212
{
213213
}
214214

@@ -220,21 +220,21 @@ public override void CanSetDefaultTypeMapperLength()
220220

221221
public class MySQLConnectorTests : ExpressionTests
222222
{
223-
public MySQLConnectorTests() : base(new MySqlConnectorDialectProvider(),"server=localhost;user=root;password=depfac$2000;database=test")
223+
public MySQLConnectorTests() : base(new MySqlConnectorDialectProvider(),"server=localhost;Port=23306;user=root;password=Simplestack2022!;database=Test")
224224
{
225225
}
226226
}
227227

228228
public class MySQLTests : ExpressionTests
229229
{
230-
public MySQLTests() : base(new MySqlDialectProvider(), "server=localhost;user=root;password=depfac$2000;database=test")
230+
public MySQLTests() : base(new MySqlDialectProvider(), "server=localhost;Port=23306;user=root;password=Simplestack2022!;database=Test")
231231
{
232232
}
233233
}
234234

235235
public class SQLServerTests : ExpressionTests
236236
{
237-
public SQLServerTests() : base(new SqlServerDialectProvider(),@"server=localhost;User id=sa;Password=depfac$2000;database=test")
237+
public SQLServerTests() : base(new SqlServerDialectProvider(),@"server=localhost,21433;User id=sa;Password=Simplestack2022!;database=test;Encrypt=True;TrustServerCertificate=True")
238238
{
239239
}
240240

0 commit comments

Comments
 (0)