Skip to content

Commit f37cd54

Browse files
committed
Update 1.1.3
* Added .NET 6.0, .NET 7.0, and .NET 8.0 support. * .NET 5.0 is out of support, but left support in for compatibility. * Updated NuGet Package 'Microsoft.Data.SqlClient.2.1.3' to 'Microsoft.Data.SqlClient.2.1.7' due to CVE-2024-0056.
1 parent 1d7a7d8 commit f37cd54

File tree

3 files changed

+35
-52
lines changed

3 files changed

+35
-52
lines changed

Utility.DatabaseInterface/DB_Interface.cs

+10
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,23 @@
1313

1414
namespace Utility.DatabaseInterface
1515
{
16+
/// <summary>
17+
/// DB_Interface class simplifies the process of pulling data from Microsoft SQL Server.
18+
/// </summary>
1619
public class DB_Interface
1720
{
21+
/// <summary>
22+
/// Class initialization setting the ConnectionString to string.empty instead of null.
23+
/// </summary>
1824
public DB_Interface() : base()
1925
{
2026
ConnectionString = string.Empty;
2127
}
2228

29+
/// <summary>
30+
/// Initialization with optional connectionString parameter.
31+
/// </summary>
32+
/// <param name="connectionString">The connection string to your database.</param>
2333
public DB_Interface(string connectionString) : base()
2434
{
2535
ConnectionString = connectionString;

Utility.DatabaseInterface/Release Notes.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ This .dll simplifies the process of connecting to a MS SQL Database and retrievi
44

55
***
66

7+
**Update 1.1.3 - 01/18/2024
8+
* Added .NET 6.0, .NET 7.0, and .NET 8.0 support.
9+
* .NET 5.0 is out of support, but left support in for compatibility.
10+
* Updated NuGet Package 'Microsoft.Data.SqlClient.2.1.3' to 'Microsoft.Data.SqlClient.2.1.7' due to CVE-2024-0056.
11+
712
**Update 1.1.2 - 06/02/2021**
813
* Added sending in the connection string when instantiating the DB_Interface class.
914
* Corrected an issue with an if statement that caused Async calls to not work in .NET 5.0.
@@ -17,4 +22,4 @@ This .dll simplifies the process of connecting to a MS SQL Database and retrievi
1722
**Update 1.1 - 05/19/2021**
1823
* Rewrote the library to run in C#.
1924
* Updated the methods to include async calls.
20-
* Updated the requests to use using statments.
25+
* Updated the requests to use using statements.
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,39 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;net50</TargetFrameworks>
4+
<TargetFrameworks>net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;net50;net60;net70;net80</TargetFrameworks>
55
<Authors>Andy Woodward</Authors>
66
<Company>Woodward Coding Solutions</Company>
7-
<Copyright>Copyright © Woodward Coding 2021</Copyright>
7+
<Copyright>Copyright © Woodward Coding 2024</Copyright>
88
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
99
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1010
<RepositoryType>git</RepositoryType>
1111
<RepositoryUrl>https://github.com/an-d-uu/Utility.DatabaseInterface</RepositoryUrl>
12+
<Title>Utility.DatabaseInterface</Title>
13+
<PackageTags>Utilities</PackageTags>
14+
<PackageReadmeFile>README.md</PackageReadmeFile>
1215
<PackageReleaseNotes>Release Notes.md</PackageReleaseNotes>
13-
<Version>1.1.2</Version>
16+
<Version>1.1.3</Version>
17+
<IncludeSymbols>True</IncludeSymbols>
18+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
19+
<NeutralLanguage>en-US</NeutralLanguage>
20+
<DocumentationFile>bin\$(Configuration)\$(Title).xml</DocumentationFile>
1421
</PropertyGroup>
1522

1623
<ItemGroup>
1724
<None Include="Release Notes.md">
1825
<Pack>True</Pack>
1926
<PackagePath></PackagePath>
2027
</None>
21-
</ItemGroup>
22-
23-
<!--<ItemGroup Condition="'$(TargetFramework)' == 'net46'">
24-
<PackageReference Include="Microsoft.Data.SqlClient">
25-
<Version>2.1.3</Version>
26-
</PackageReference>
27-
</ItemGroup>
28-
29-
<ItemGroup Condition="'$(TargetFramework)' == 'net461'">
30-
<PackageReference Include="Microsoft.Data.SqlClient">
31-
<Version>2.1.3</Version>
32-
</PackageReference>
33-
</ItemGroup>
34-
35-
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
36-
<PackageReference Include="Microsoft.Data.SqlClient">
37-
<Version>2.1.3</Version>
38-
</PackageReference>
39-
</ItemGroup>
40-
41-
<ItemGroup Condition="'$(TargetFramework)' == 'net47'">
42-
<PackageReference Include="Microsoft.Data.SqlClient">
43-
<Version>2.1.3</Version>
44-
</PackageReference>
45-
</ItemGroup>
46-
47-
<ItemGroup Condition="'$(TargetFramework)' == 'net471'">
48-
<PackageReference Include="Microsoft.Data.SqlClient">
49-
<Version>2.1.3</Version>
50-
</PackageReference>
51-
</ItemGroup>
52-
53-
<ItemGroup Condition="'$(TargetFramework)' == 'net472'">
54-
<PackageReference Include="Microsoft.Data.SqlClient">
55-
<Version>2.1.3</Version>
56-
</PackageReference>
57-
</ItemGroup>
58-
59-
<ItemGroup Condition="'$(TargetFramework)' == 'net48'">
60-
<PackageReference Include="Microsoft.Data.SqlClient">
61-
<Version>2.1.3</Version>
62-
</PackageReference>
63-
</ItemGroup>-->
64-
65-
<ItemGroup Condition="'$(TargetFramework)' == 'net50'">
28+
<None Include="README.md">
29+
<Pack>True</Pack>
30+
<PackagePath>\</PackagePath>
31+
</None>
32+
</ItemGroup>
33+
34+
<ItemGroup Condition="'$(TargetFramework)' == 'net50' or '$(TargetFramework)' == 'net60' or '$(TargetFramework)' == 'net70' or '$(TargetFramework)' == 'net80'">
6635
<PackageReference Include="Microsoft.Data.SqlClient">
67-
<Version>2.1.3</Version>
36+
<Version>2.1.7</Version>
6837
</PackageReference>
69-
</ItemGroup>
70-
38+
</ItemGroup>
7139
</Project>

0 commit comments

Comments
 (0)