Browse Source

Upgrade Volo.Abp.AutoMapper to 6.0.0

pull/124/head
Engincan VESKE 4 years ago
parent
commit
0f0b50b2e3
  1. 4
      modules/payment/src/Payment.Admin.Application/Payment.Admin.Application.csproj
  2. 2
      modules/payment/src/Payment.Admin.Blazor/Pages/Payment/Requests/Index.razor.cs
  3. 4
      modules/payment/src/Payment.Application/Payment.Application.csproj

4
modules/payment/src/Payment.Admin.Application/Payment.Admin.Application.csproj

@ -4,12 +4,12 @@
<Import Project="..\..\configureawait.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>Payment.Admin</RootNamespace>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.AutoMapper" Version="5.0.0" />
<PackageReference Include="Volo.Abp.AutoMapper" Version="6.0.0" />
<PackageReference Include="Volo.Abp.Ddd.Application" Version="6.0.0" />
<ProjectReference Include="..\Payment.Admin.Application.Contracts\Payment.Admin.Application.Contracts.csproj" />
<ProjectReference Include="..\Payment.Domain\Payment.Domain.csproj" />

2
modules/payment/src/Payment.Admin.Blazor/Pages/Payment/Requests/Index.razor.cs

@ -63,7 +63,7 @@ namespace Payment.Admin.Pages.Payment.Requests
protected virtual async Task OnDataGridReadAsync(DataGridReadDataEventArgs<PaymentRequestWithDetailsDto> e)
{
CurrentSorting = e.Columns
.Where(c => c.SortDirection != SortDirection.None)
.Where(c => c.SortDirection != SortDirection.Default)
.Select(c => c.Field + (c.SortDirection == SortDirection.Descending ? " DESC" : ""))
.JoinAsString(",");

4
modules/payment/src/Payment.Application/Payment.Application.csproj

@ -4,12 +4,12 @@
<Import Project="..\..\configureawait.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>Payment</RootNamespace>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.AutoMapper" Version="5.0.0" />
<PackageReference Include="Volo.Abp.AutoMapper" Version="6.0.0" />
<PackageReference Include="Volo.Abp.Ddd.Application" Version="6.0.0" />
<ProjectReference Include="..\Payment.Application.Contracts\Payment.Application.Contracts.csproj" />
<ProjectReference Include="..\Payment.Domain\Payment.Domain.csproj" />

Loading…
Cancel
Save