Skip to content

Commit 9e7907a

Browse files
committed
Folder structring on the solution level. Removed the net6, net7 and net9 support to the Tests and Benchmark projects. Added the '<Authors>Michael Camara Pendon and Open-Source Software Contributors</Authors>'
1 parent fe29b6c commit 9e7907a

24 files changed

Lines changed: 65 additions & 30 deletions

File tree

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project>
33
<PropertyGroup>
4-
<Authors>Michael Camara Pendon and others</Authors>
4+
<Authors>Michael Camara Pendon and Open-Source Software Contributors</Authors>
55
<Company>RepoDb</Company>
66
<Product>RepoDb</Product>
77
<Version Condition="'$(Version)' == ''">0.0.1-dev</Version>

RepoDb.Benchmarks/RepoDb.Benchmarks.PostgreSql/RepoDb.Benchmarks.PostgreSql.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
</PropertyGroup>
77
<ItemGroup>
@@ -15,6 +15,9 @@
1515
<PackageReference Include="Npgsql" />
1616
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" />
1717
</ItemGroup>
18+
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
19+
<PackageReference Remove="System.Linq.Async" />
20+
</ItemGroup>
1821
<ItemGroup>
1922
<ProjectReference Include="..\..\RepoDb.PostgreSql\RepoDb.PostgreSql\RepoDb.PostgreSql.csproj" />
2023
</ItemGroup>

RepoDb.Benchmarks/RepoDb.Benchmarks.PostgreSql/RepoDb/RepoDbBaseBenchmarks.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class RepoDbBaseBenchmarks : BaseBenchmark
1313
[GlobalSetup]
1414
public void Setup()
1515
{
16-
PostgreSqlBootstrap.Initialize();
16+
GlobalConfiguration.Setup().UsePostgreSql();
1717
TypeMapper.Add(typeof(DateTime), DbType.DateTime2, true);
1818
BaseSetup();
1919
}
@@ -26,4 +26,4 @@ protected override void Bootstrap()
2626
connection.QueryAll<Person>();
2727
}
2828
}
29-
}
29+
}

RepoDb.Benchmarks/RepoDb.Benchmarks.SqlServer/RepoDb.Benchmarks.SqlServer.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
</PropertyGroup>
77
<ItemGroup>
@@ -13,6 +13,9 @@
1313
<PackageReference Include="NHibernate" />
1414
<PackageReference Include="System.Linq.Async" />
1515
</ItemGroup>
16+
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
17+
<PackageReference Remove="System.Linq.Async" />
18+
</ItemGroup>
1619
<ItemGroup>
1720
<ProjectReference Include="..\..\RepoDb.Extensions\RepoDb.SqlServer.BulkOperations\RepoDb.SqlServer.BulkOperations\RepoDb.SqlServer.BulkOperations.csproj" />
1821
<ProjectReference Include="..\..\RepoDb.PostgreSql\RepoDb.PostgreSql\RepoDb.PostgreSql.csproj" />

RepoDb.Benchmarks/RepoDb.Benchmarks.SqlServer/RepoDb/RepoDbBaseBenchmarks.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class RepoDbBaseBenchmarks : BaseBenchmark
1313
[GlobalSetup]
1414
public void Setup()
1515
{
16-
SqlServerBootstrap.Initialize();
16+
GlobalConfiguration.Setup().UseSqlServer();
1717
TypeMapper.Add(typeof(DateTime), DbType.DateTime2, true);
1818
BaseSetup();
1919
}
@@ -26,4 +26,4 @@ protected override void Bootstrap()
2626
connection.QueryAll<Person>();
2727
}
2828
}
29-
}
29+
}

RepoDb.Core/RepoDb.All.sln

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.29613.14
3+
# Visual Studio Version 18
4+
VisualStudioVersion = 18.7.11911.148 stable
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RepoDb", "RepoDb\RepoDb.csproj", "{848A3476-B319-4BCC-A9CB-572182785B58}"
77
EndProject
@@ -79,7 +79,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MySqlConnector", "MySqlConn
7979
..\RepoDb.MySqlConnector\README.md = ..\RepoDb.MySqlConnector\README.md
8080
EndProjectSection
8181
EndProject
82-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0D6226D2-45AA-4EE3-BC76-BD0B60D8AE6A}"
82+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Files", "Files", "{0D6226D2-45AA-4EE3-BC76-BD0B60D8AE6A}"
8383
ProjectSection(SolutionItems) = preProject
8484
..\Directory.Build.props = ..\Directory.Build.props
8585
EndProjectSection
@@ -126,6 +126,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RepoDb.PostgreSql.BulkOpera
126126
EndProject
127127
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RepoDb.SqlServer.BulkOperations.IntegrationTests", "..\RepoDb.Extensions\RepoDb.SqlServer.BulkOperations\RepoDb.SqlServer.BulkOperations.IntegrationTests\RepoDb.SqlServer.BulkOperations.IntegrationTests.csproj", "{318B1EF1-25E7-47EE-98C2-21A486813AE3}"
128128
EndProject
129+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RepoDb.Tests", "RepoDb.Tests", "{DF99E78E-66AD-44EF-8D21-658E626594DC}"
130+
EndProject
131+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RepoDb.Benchmarks", "RepoDb.Benchmarks", "{5F3DE065-C6A5-47F8-9F36-FB81438D2ACE}"
132+
EndProject
129133
Global
130134
GlobalSection(SolutionConfigurationPlatforms) = preSolution
131135
Debug|Any CPU = Debug|Any CPU
@@ -253,6 +257,24 @@ Global
253257
{B57B1387-2718-46F0-9608-11746ECB4DF2} = {5EA323B8-B4B6-4083-97A3-018C9423B20A}
254258
{1E85E11D-431C-4969-B2EE-C82EB0D92DC7} = {5EA323B8-B4B6-4083-97A3-018C9423B20A}
255259
{419BA40B-7803-4E45-893F-FB8A6E81FAC5} = {5EA323B8-B4B6-4083-97A3-018C9423B20A}
260+
{86A5DB6E-622C-4320-93F7-8E7DE6CC361B} = {DF99E78E-66AD-44EF-8D21-658E626594DC}
261+
{2EB719D0-36CB-4F3B-9429-10C9CE29C12E} = {DF99E78E-66AD-44EF-8D21-658E626594DC}
262+
{BE11218C-C218-4A8F-ABDE-0EF65A920F4B} = {DF99E78E-66AD-44EF-8D21-658E626594DC}
263+
{B14F45B8-1B78-473E-BDE0-6E27AC622AED} = {DF99E78E-66AD-44EF-8D21-658E626594DC}
264+
{D456EA78-645F-4A9A-BF76-A3AD7BC56E2A} = {DF99E78E-66AD-44EF-8D21-658E626594DC}
265+
{80A2A415-1223-4A8A-BF96-E19F90B933A5} = {DF99E78E-66AD-44EF-8D21-658E626594DC}
266+
{C2A0A9CE-742C-4DAE-BA49-B27718E411B9} = {DF99E78E-66AD-44EF-8D21-658E626594DC}
267+
{0FEFE776-A12C-4C9E-A440-A69D0BE90889} = {DF99E78E-66AD-44EF-8D21-658E626594DC}
268+
{8257EF67-47B6-48F0-9E90-546DD2C20AAB} = {DF99E78E-66AD-44EF-8D21-658E626594DC}
269+
{2D39959C-CE70-4D10-92F5-951B9A773DC6} = {DF99E78E-66AD-44EF-8D21-658E626594DC}
270+
{52D8E025-4143-4D46-B4DC-AE016281907A} = {5F3DE065-C6A5-47F8-9F36-FB81438D2ACE}
271+
{9614BDFB-2E88-4503-A066-49B8F701B190} = {5F3DE065-C6A5-47F8-9F36-FB81438D2ACE}
272+
{BD2A25DC-0645-4858-B5D2-4739D108ED59} = {DF99E78E-66AD-44EF-8D21-658E626594DC}
273+
{C98D7388-CF04-44B1-8FBA-3444D5C44A57} = {DF99E78E-66AD-44EF-8D21-658E626594DC}
274+
{E0B2E6E9-943B-4843-99CB-25564F03ACF1} = {DF99E78E-66AD-44EF-8D21-658E626594DC}
275+
{A98AD547-9E71-439A-A25D-3D0B20AC5FF3} = {DF99E78E-66AD-44EF-8D21-658E626594DC}
276+
{B4E1D3CC-D308-44FA-90DF-4398572DEFB5} = {DF99E78E-66AD-44EF-8D21-658E626594DC}
277+
{318B1EF1-25E7-47EE-98C2-21A486813AE3} = {DF99E78E-66AD-44EF-8D21-658E626594DC}
256278
EndGlobalSection
257279
GlobalSection(ExtensibilityGlobals) = postSolution
258280
SolutionGuid = {D15A7161-5524-45B7-A22A-EA6C877AA840}

RepoDb.Core/RepoDb.Tests/RepoDb.IntegrationTests/RepoDb.IntegrationTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
3+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
44
<IsPackable>false</IsPackable>
55
<IsTestProject>true</IsTestProject>
66
<EnableMSTestRunner>true</EnableMSTestRunner>

RepoDb.Core/RepoDb.Tests/RepoDb.UnitTests/RepoDb.UnitTests.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
3+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
44
<IsPackable>false</IsPackable>
55
<IsTestProject>true</IsTestProject>
66
<EnableMSTestRunner>true</EnableMSTestRunner>
@@ -19,7 +19,6 @@
1919
<ItemGroup>
2020
<PackageReference Include="Moq" />
2121
<PackageReference Include="MSTest" />
22-
<PackageReference Include="System.Dynamic.Runtime" />
2322
</ItemGroup>
2423
<ItemGroup>
2524
<ProjectReference Include="..\..\..\RepoDb.SqlServer\RepoDb.SqlServer\RepoDb.SqlServer.csproj" />

RepoDb.Docker/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# SQL Server
2+
3+
Follow the steps from the official Docker website for [SQL Server](https://hub.docker.com/r/microsoft/mssql-server).
4+
5+
Alternatively, run the command below.
6+
7+
```bash
8+
docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=RepoDB2026" -e "MSSQL_PID=Evaluation" -p 1433:1433 --name sql2025 --hostname sql2025 -d mcr.microsoft.com/mssql/server:2025-latest
9+
```

RepoDb.Extensions/RepoDb.PostgreSql.BulkOperations/RepoDb.PostgreSql.BulkOperations.IntegrationTests/RepoDb.PostgreSql.BulkOperations.IntegrationTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
3+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
44
<IsPackable>false</IsPackable>
55
<IsTestProject>true</IsTestProject>
66
<EnableMSTestRunner>true</EnableMSTestRunner>

0 commit comments

Comments
 (0)