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

Add SQL Server support #17

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion Ephemerally.sln
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.6.33717.318
Expand Down Expand Up @@ -32,6 +31,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{EBD6
.github\workflows\tag.yml = .github\workflows\tag.yml
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ephemerally.SqlServer", "src\Ephemerally.SqlServer\Ephemerally.SqlServer.csproj", "{0B9D581D-58AA-4C71-8B0C-B6A8C8CF736F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ephemerally.SqlServer.Tests", "tests\Ephemerally.SqlServer.Tests\Ephemerally.SqlServer.Tests.csproj", "{0573A66A-A2CF-400F-8CDB-CBF363F843F1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ephemerally.SqlServer.Xunit", "src\Ephemerally.SqlServer.Xunit\Ephemerally.SqlServer.Xunit.csproj", "{B7C9B222-D5BB-4A57-9A2F-DFC54C730649}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -74,6 +79,18 @@ Global
{5A30E9EA-AB80-4E08-A81F-99CE329B34B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5A30E9EA-AB80-4E08-A81F-99CE329B34B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5A30E9EA-AB80-4E08-A81F-99CE329B34B8}.Release|Any CPU.Build.0 = Release|Any CPU
{0B9D581D-58AA-4C71-8B0C-B6A8C8CF736F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0B9D581D-58AA-4C71-8B0C-B6A8C8CF736F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0B9D581D-58AA-4C71-8B0C-B6A8C8CF736F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0B9D581D-58AA-4C71-8B0C-B6A8C8CF736F}.Release|Any CPU.Build.0 = Release|Any CPU
{0573A66A-A2CF-400F-8CDB-CBF363F843F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0573A66A-A2CF-400F-8CDB-CBF363F843F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0573A66A-A2CF-400F-8CDB-CBF363F843F1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0573A66A-A2CF-400F-8CDB-CBF363F843F1}.Release|Any CPU.Build.0 = Release|Any CPU
{B7C9B222-D5BB-4A57-9A2F-DFC54C730649}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B7C9B222-D5BB-4A57-9A2F-DFC54C730649}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B7C9B222-D5BB-4A57-9A2F-DFC54C730649}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B7C9B222-D5BB-4A57-9A2F-DFC54C730649}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -88,6 +105,9 @@ Global
{7E763132-0532-4689-A738-7CB71635AC63} = {F9102409-3748-4DA6-9D7B-784339508244}
{E186436A-12C9-4140-A279-19227CFF8533} = {AF30F58C-5E9B-4406-9E13-114C46F4E410}
{5A30E9EA-AB80-4E08-A81F-99CE329B34B8} = {F9102409-3748-4DA6-9D7B-784339508244}
{0B9D581D-58AA-4C71-8B0C-B6A8C8CF736F} = {F9102409-3748-4DA6-9D7B-784339508244}
{0573A66A-A2CF-400F-8CDB-CBF363F843F1} = {AF30F58C-5E9B-4406-9E13-114C46F4E410}
{B7C9B222-D5BB-4A57-9A2F-DFC54C730649} = {F9102409-3748-4DA6-9D7B-784339508244}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {5690E595-5302-46D7-AA86-89D55117B068}
Expand Down
33 changes: 33 additions & 0 deletions src/Ephemerally.SqlServer.Xunit/Ephemerally.SqlServer.Xunit.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<LangVersion>latest</LangVersion>
<IsTestProject>false</IsTestProject>
<IsPackable>true</IsPackable>
</PropertyGroup>

<ItemGroup>
<InternalsVisibleTo Include="Ephemerally.SqlServer.Tests" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Ephemerally.SqlServer\Ephemerally.SqlServer.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="IsExternalInit" Version="1.0.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="minver" Version="4.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
<PackageReference Include="Xunit" Version="2.4.2" />
</ItemGroup>

</Project>
30 changes: 30 additions & 0 deletions src/Ephemerally.SqlServer/Ephemerally.SqlServer.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.1</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<LangVersion>12</LangVersion>
</PropertyGroup>

<ItemGroup>
<InternalsVisibleTo Include="$(AssemblyName).Tests" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Ephemerally\Ephemerally.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="IsExternalInit" Version="1.0.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="minver" Version="4.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<LangVersion>latest</LangVersion>

<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="shouldly" Version="4.2.1" />
<PackageReference Include="testcontainers" Version="3.7.0" />
<PackageReference Include="xunit" Version="2.5.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Ephemerally.SqlServer.Xunit\Ephemerally.SqlServer.Xunit.csproj" />
<ProjectReference Include="..\..\src\Ephemerally.SqlServer\Ephemerally.SqlServer.csproj" />
<ProjectReference Include="..\Ephemerally.Tests\Ephemerally.Tests.csproj" />
</ItemGroup>

<ItemGroup>
<Using Include="Xunit" />
</ItemGroup>

</Project>
Loading