diff --git a/DubUrl.Adomd/Rewriting/PowerBiPremiumRewriter.cs b/DubUrl.Adomd/Rewriting/PowerBiPremiumRewriter.cs index c4f95976..2b94cae4 100644 --- a/DubUrl.Adomd/Rewriting/PowerBiPremiumRewriter.cs +++ b/DubUrl.Adomd/Rewriting/PowerBiPremiumRewriter.cs @@ -54,7 +54,7 @@ public override void Execute(UrlInfo urlInfo) for (int i = 0; i < segments.Count; i++) segments[i] = Encode(segments[i]); - fullHost.AppendJoin('/', [.. segments]); + fullHost.AppendJoin('/', segments); Specificator.Execute(SERVER_KEYWORD, fullHost.ToString()); } diff --git a/DubUrl.Adomd/Rewriting/SsasRewriter.cs b/DubUrl.Adomd/Rewriting/SsasRewriter.cs index 08e0f531..c5f6e709 100644 --- a/DubUrl.Adomd/Rewriting/SsasRewriter.cs +++ b/DubUrl.Adomd/Rewriting/SsasRewriter.cs @@ -42,7 +42,7 @@ public override void Execute(UrlInfo urlInfo) var fullHost = new StringBuilder(); fullHost.Append(urlInfo.Host); if (urlInfo.Segments.Length == 0 || urlInfo.Segments.Length > 3) - throw new InvalidConnectionUrlException($"The connection-url for 'Microsoft SQL Server Analysis Service Multidimensional' is expecting one to three segments. This connection-url is containing {urlInfo.Segments.Length} segments: '{string.Join("', '", [.. urlInfo.Segments])}'"); + throw new InvalidConnectionUrlException($"The connection-url for 'Microsoft SQL Server Analysis Service Multidimensional' is expecting one to three segments. This connection-url is containing {urlInfo.Segments.Length} segments: '{string.Join("', '", urlInfo.Segments)}'"); if (urlInfo.Port != 0) { fullHost.Append(':').Append(urlInfo.Port); @@ -80,7 +80,7 @@ public override void Execute(UrlInfo urlInfo) else if (urlInfo.Segments.Length >= 2 && urlInfo.Segments.Length <= 3) Specificator.Execute(DATABASE_KEYWORD, urlInfo.Segments.Skip(1).First()); else - throw new InvalidConnectionUrlException($"The connection-url for 'Microsoft SQL Server Analysis Service Multidimensional' is expecting one to three segments. This connection-url is containing {urlInfo.Segments.Length} segments: '{string.Join("', '", [.. urlInfo.Segments])}'"); + throw new InvalidConnectionUrlException($"The connection-url for 'Microsoft SQL Server Analysis Service Multidimensional' is expecting one to three segments. This connection-url is containing {urlInfo.Segments.Length} segments: '{string.Join("', '", urlInfo.Segments)}'"); } } diff --git a/DubUrl.Core/Rewriting/Implementation/DuckdbRewriter.cs b/DubUrl.Core/Rewriting/Implementation/DuckdbRewriter.cs index fd5e9fd4..bb381ac0 100644 --- a/DubUrl.Core/Rewriting/Implementation/DuckdbRewriter.cs +++ b/DubUrl.Core/Rewriting/Implementation/DuckdbRewriter.cs @@ -34,7 +34,7 @@ public override void Execute(UrlInfo urlInfo) if (!urlInfo.Segments.Any()) segments.Add(":memory:"); else - throw new InvalidConnectionUrlException($"Expecting no segment in the connectionUrl because the InMemory mode was activated by specifying the host '{urlInfo.Host}' but get {urlInfo.Segments.Length} segments. The list of segments was '{string.Join("', '", [.. urlInfo.Segments])}'"); + throw new InvalidConnectionUrlException($"Expecting no segment in the connectionUrl because the InMemory mode was activated by specifying the host '{urlInfo.Host}' but get {urlInfo.Segments.Length} segments. The list of segments was '{string.Join("', '", urlInfo.Segments)}'"); } else if (string.IsNullOrEmpty(urlInfo.Host) && urlInfo.Segments.Length > 1 && string.IsNullOrEmpty(urlInfo.Segments[0])) segments = urlInfo.Segments.Skip(1).ToList(); diff --git a/DubUrl.Core/Rewriting/Implementation/MsSqlServerRewriter.cs b/DubUrl.Core/Rewriting/Implementation/MsSqlServerRewriter.cs index 6718465d..bf9e1ef6 100644 --- a/DubUrl.Core/Rewriting/Implementation/MsSqlServerRewriter.cs +++ b/DubUrl.Core/Rewriting/Implementation/MsSqlServerRewriter.cs @@ -70,7 +70,7 @@ public override void Execute(UrlInfo urlInfo) if (urlInfo.Segments.Length > 0 && urlInfo.Segments.Length <= 2) Specificator.Execute(DATABASE_KEYWORD, urlInfo.Segments.Last()); else - throw new InvalidConnectionUrlException($"The connection-url for Microsoft SQL Server is expecting one or two segments. This connection-url is containing {urlInfo.Segments.Length} segments: '{string.Join("', '", [.. urlInfo.Segments])}'"); + throw new InvalidConnectionUrlException($"The connection-url for Microsoft SQL Server is expecting one or two segments. This connection-url is containing {urlInfo.Segments.Length} segments: '{string.Join("', '", urlInfo.Segments)}'"); } } } diff --git a/DubUrl.Extensions.Testing/DubUrl.Extensions.Testing.csproj b/DubUrl.Extensions.Testing/DubUrl.Extensions.Testing.csproj index c8411f64..a4bd3cf4 100644 --- a/DubUrl.Extensions.Testing/DubUrl.Extensions.Testing.csproj +++ b/DubUrl.Extensions.Testing/DubUrl.Extensions.Testing.csproj @@ -1,5 +1,14 @@ - + + + + + + + + + + diff --git a/DubUrl.Extensions/DubUrl.Extensions.csproj b/DubUrl.Extensions/DubUrl.Extensions.csproj index 273ab93d..9d4fb564 100644 --- a/DubUrl.Extensions/DubUrl.Extensions.csproj +++ b/DubUrl.Extensions/DubUrl.Extensions.csproj @@ -1,32 +1,42 @@ - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - + + + - - - all - runtime; build; native; contentfiles; analyzers - - + + + all + runtime; build; native; contentfiles; analyzers + + + + + DubUrl.Extensions + https://github.com/Seddryck/DubUrl + connection-string;database;sql;dependency-injection;configuration + DubUrl provides a standardized URL-style mechanism for providing database connection information and opening a DbConnection in the .NET ecosystem + - - DubUrl.Extensions - https://github.com/Seddryck/DubUrl - connection-string;database;sql;dependency-injection;configuration - DubUrl provides a standardized URL-style mechanism for providing database connection information and opening a DbConnection in the .NET ecosystem - - diff --git a/DubUrl.OleDb/DubUrl.OleDb.csproj b/DubUrl.OleDb/DubUrl.OleDb.csproj index b190aca3..6e0ea635 100644 --- a/DubUrl.OleDb/DubUrl.OleDb.csproj +++ b/DubUrl.OleDb/DubUrl.OleDb.csproj @@ -1,8 +1,11 @@ - - - + + + + + + diff --git a/DubUrl.QA/DubUrl.QA.csproj b/DubUrl.QA/DubUrl.QA.csproj index d92cd700..35536ff7 100644 --- a/DubUrl.QA/DubUrl.QA.csproj +++ b/DubUrl.QA/DubUrl.QA.csproj @@ -100,18 +100,29 @@ + + - - + + + + + + + + + + + + - diff --git a/DubUrl.Testing/DubUrl.Testing.csproj b/DubUrl.Testing/DubUrl.Testing.csproj index 86d275e6..bbfd5468 100644 --- a/DubUrl.Testing/DubUrl.Testing.csproj +++ b/DubUrl.Testing/DubUrl.Testing.csproj @@ -16,11 +16,17 @@ - - + + + + + + + + @@ -43,8 +49,8 @@ - - + + all