Skip to content

Commit

Permalink
Upgraded PcAxis.Sql nuget to 1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
likp committed Dec 13, 2024
1 parent 4a489b6 commit 006e3b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions PxWeb/Code/Api2/DataSource/Cnmm/CnmmDataSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ private static bool IsInteger(string value)
id = id.Substring(4);
}

PCAxis.Sql.Repositories.GroupingRepository repo = new PCAxis.Sql.Repositories.GroupingRepository(cnmmOptions.DatabaseID);
PCAxis.Sql.Models.Grouping grouping = repo.GetGrouping(id, language);
var util = new PCAxis.Sql.ApiUtils.ApiUtil();
PCAxis.Sql.Models.Grouping grouping = util.GetGrouping(id, language);

if (grouping != null)
{
Expand All @@ -243,8 +243,8 @@ private static bool IsInteger(string value)
id = id.Substring(3);
}

PCAxis.Sql.Repositories.ValueSetRepository repo = new PCAxis.Sql.Repositories.ValueSetRepository(cnmmOptions.DatabaseID);
PCAxis.Sql.Models.ValueSet valueset = repo.GetValueSet(id, language);
var util = new PCAxis.Sql.ApiUtils.ApiUtil();
PCAxis.Sql.Models.ValueSet valueset = util.GetValueSet(id, language);

if (valueset != null)
{
Expand Down
2 changes: 1 addition & 1 deletion PxWeb/PxWeb.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="PCAxis.Menu.ConfigDatamodelMenu" Version="1.0.8" />
<PackageReference Include="PCAxis.Serializers" Version="1.3.1" />
<PackageReference Include="PcAxis.Sql" Version="1.2.4" />
<PackageReference Include="PcAxis.Sql" Version="1.2.5" />
<PackageReference Include="PxWeb.Api2.Server" Version="2.0.0-beta.5" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" />
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="7.2.0" />
Expand Down

0 comments on commit 006e3b6

Please sign in to comment.