This commit is contained in:
Userok 2024-12-27 12:47:44 +03:00
parent 17b761d0c0
commit 94849af572
3 changed files with 6 additions and 3 deletions

View File

@ -11,7 +11,7 @@
<ItemGroup>
<PackageReference Include="Avalonia.Desktop" Version="11.2.3" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.11" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
<PackageReference Include="Microsoft.OpenApi" Version="1.6.23" />
</ItemGroup>

View File

@ -17,7 +17,7 @@
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.2.3" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.11" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
<PackageReference Include="Microsoft.OpenApi" Version="1.6.23" />
</ItemGroup>
</Project>

View File

@ -1,6 +1,9 @@
namespace Demka_2.Use;
using System;
namespace Demka_2.Use;
public class Service
{
public Guid guid { get; set; }
public string Name { get; set; }
public decimal Price { get; set; }
public decimal Discount { get; set; }