Skip to content

Commit a78d222

Browse files
committed
Update packages, add descriptions, and remove method
1 parent fe1eec5 commit a78d222

File tree

11 files changed

+17
-44
lines changed

11 files changed

+17
-44
lines changed

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
3131
<PackageVersion Include="MinVer" Version="6.0.0" />
3232
<PackageVersion Include="Npgsql" Version="10.0.0" />
33-
<PackageVersion Include="PolySharp" Version="1.15.0" />
33+
<PackageVersion Include="Polyfill" Version="9.3.1" />
3434
<PackageVersion Include="System.ComponentModel.Annotations" Version="5.0.0" />
3535
<PackageVersion Include="System.Text.Json" Version="10.0.0" />
3636
<PackageVersion Include="Testcontainers.Azurite" Version="4.9.0" />

FluentCommand.slnx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<Solution>
22
<Folder Name="/Build/">
3-
<File Path=".github/dependabot.yml" />
43
<File Path=".github/workflows/dotnet.yml" />
5-
<File Path=".github/workflows/merge.yml" />
64
<File Path="coverlet.runsettings" />
75
<File Path="Directory.Packages.props" />
86
<File Path="README.md" />

src/Directory.Build.props

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<Project>
22
<PropertyGroup Label="Package">
3-
<Description>Fluent Wrapper for DbCommand</Description>
43
<Copyright>Copyright © $([System.DateTime]::Now.ToString(yyyy)) LoreSoft</Copyright>
54
<Authors>LoreSoft</Authors>
65
<NeutralLanguage>en-US</NeutralLanguage>
@@ -47,4 +46,4 @@
4746
<Visible>false</Visible>
4847
</None>
4948
</ItemGroup>
50-
</Project>
49+
</Project>

src/FluentCommand.Caching/FluentCommand.Caching.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>netstandard2.0;net8.0;net9.0;net10.0</TargetFrameworks>
4+
<Description>Fluent Wrapper for DbCommand with distributed caching support using Microsoft.Extensions.Caching and MessagePack serialization</Description>
45
</PropertyGroup>
56
<ItemGroup>
67
<PackageReference Include="MessagePack" />

src/FluentCommand.Csv/FluentCommand.Csv.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
<PropertyGroup>
33
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
44
<RootNamespace>FluentCommand</RootNamespace>
5+
<Description>Fluent Wrapper for DbCommand with CSV export support for query results</Description>
56
</PropertyGroup>
67
<ItemGroup>
78
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" />
89
</ItemGroup>
910
<ItemGroup>
1011
<ProjectReference Include="..\FluentCommand\FluentCommand.csproj" />
1112
</ItemGroup>
12-
</Project>
13+
</Project>

src/FluentCommand.Generators/FluentCommand.Generators.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
<AnalyzerLanguage>cs</AnalyzerLanguage>
1111
<AnalyzerRoslynVersion>4.4</AnalyzerRoslynVersion>
1212
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
13+
<Description>Source generators for FluentCommand that create DataReader factory methods and extension methods for entity classes</Description>
1314
</PropertyGroup>
1415
<ItemGroup>
1516
<!-- https://learn.microsoft.com/en-us/visualstudio/extensibility/roslyn-version-support -->
1617
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" PrivateAssets="all" />
1718
</ItemGroup>
18-
</Project>
19+
</Project>
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>netstandard2.0;net8.0;net9.0;net10.0</TargetFrameworks>
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
6+
<Description>Fluent Wrapper for DbCommand with data import, field mapping, and merge capabilities</Description>
67
</PropertyGroup>
78
<ItemGroup>
89
<PackageReference Include="System.Text.Json" />
910
</ItemGroup>
10-
</Project>
11+
</Project>

src/FluentCommand.Json/FluentCommand.Json.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<PropertyGroup>
33
<TargetFrameworks>netstandard2.0;net8.0;net9.0;net10.0</TargetFrameworks>
44
<RootNamespace>FluentCommand</RootNamespace>
5+
<Description>Fluent Wrapper for DbCommand with JSON export support for query results</Description>
56
</PropertyGroup>
67
<ItemGroup>
78
<ProjectReference Include="..\FluentCommand\FluentCommand.csproj" />
@@ -10,4 +11,4 @@
1011
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" />
1112
<PackageReference Include="System.Text.Json" />
1213
</ItemGroup>
13-
</Project>
14+
</Project>

src/FluentCommand.SqlServer/FluentCommand.SqlServer.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<PropertyGroup>
33
<TargetFrameworks>net462;net8.0;net9.0;net10.0</TargetFrameworks>
44
<RootNamespace>FluentCommand</RootNamespace>
5+
<Description>Fluent Wrapper for DbCommand with SQL Server support using Microsoft.Data.SqlClient</Description>
56
</PropertyGroup>
67
<ItemGroup>
78
<ProjectReference Include="..\FluentCommand.Import\FluentCommand.Import.csproj" />
@@ -10,4 +11,4 @@
1011
<ItemGroup>
1112
<PackageReference Include="MicroSoft.Data.SqlClient" />
1213
</ItemGroup>
13-
</Project>
14+
</Project>

src/FluentCommand/Extensions/StringBuilderExtensions.cs

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -78,36 +78,4 @@ public static StringBuilder AppendLineIf(this StringBuilder sb, Func<bool> condi
7878

7979
return sb;
8080
}
81-
82-
/// <summary>
83-
/// Concatenates and appends the members of a collection, using the specified separator between each member.
84-
/// </summary>
85-
/// <typeparam name="T">The type of the members of values.</typeparam>
86-
/// <param name="sb">A reference to this instance after the append operation has completed.</param>
87-
/// <param name="separator">The string to use as a separator. separator is included in the concatenated and appended strings only if values has more than one element.</param>
88-
/// <param name="values">A collection that contains the objects to concatenate and append to the current instance of the string builder.</param>
89-
/// <returns>A reference to this instance after the append operation has completed.</returns>
90-
public static StringBuilder AppendJoin<T>(this StringBuilder sb, string separator, IEnumerable<T> values)
91-
{
92-
if (sb is null)
93-
throw new ArgumentNullException(nameof(sb));
94-
if (values is null)
95-
throw new ArgumentNullException(nameof(values));
96-
97-
separator ??= string.Empty;
98-
99-
var wroteValue = false;
100-
101-
foreach (var value in values)
102-
{
103-
if (wroteValue)
104-
sb.Append(separator);
105-
106-
sb.Append(value);
107-
wroteValue = true;
108-
}
109-
110-
return sb;
111-
}
112-
11381
}

0 commit comments

Comments
 (0)