db models

This commit is contained in:
Леонид Малафеев 2024-04-23 19:48:02 +04:00
parent 2c7cbe6ddc
commit b221ea9271
32 changed files with 1853 additions and 3 deletions

Binary file not shown.

View File

@ -9,6 +9,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SportCompetitionsContracts"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SportCompetitionsBusinessLogic", "SportCompetitionsBusinessLogic\SportCompetitionsBusinessLogic.csproj", "{3AA9ADED-CAE9-4719-B01A-D24152C76294}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SportCompetitionsDatabaseImplement", "SportCompetitionsDatabaseImplement\SportCompetitionsDatabaseImplement.csproj", "{3F8F26D2-1371-43F0-BB65-E064E9958D73}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -27,6 +29,10 @@ Global
{3AA9ADED-CAE9-4719-B01A-D24152C76294}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3AA9ADED-CAE9-4719-B01A-D24152C76294}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3AA9ADED-CAE9-4719-B01A-D24152C76294}.Release|Any CPU.Build.0 = Release|Any CPU
{3F8F26D2-1371-43F0-BB65-E064E9958D73}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3F8F26D2-1371-43F0-BB65-E064E9958D73}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3F8F26D2-1371-43F0-BB65-E064E9958D73}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3F8F26D2-1371-43F0-BB65-E064E9958D73}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@ -14,7 +14,7 @@ namespace SportCompetitionsContracts.ViewModels
[DisplayName("ФИО Участника")]
public string? MemberFCs { get; set; }
[DisplayName("Дата рождения")]
public DateTime MemberBirthDate { get; }
public DateTime MemberBirthDate { get; set; }
[DisplayName("Пол")]
public string? MemberGender { get; set; }
[DisplayName("Команда")]

View File

@ -12,8 +12,8 @@ namespace SportCompetitionsContracts.ViewModels
{
public int Id { get; set; }
[DisplayName("Название команды")]
public string? TeamName { get; }
public string? TeamName { get; set; }
[DisplayName("Страна команды")]
public string? TeamCountry { get; }
public string? TeamCountry { get; set; }
}
}

View File

@ -0,0 +1,51 @@
using SportCompetitionsContracts.BindingModels;
using SportCompetitionsContracts.ViewModels;
using SportCompetitionsDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SportCompetitionsDatabaseImplement.Models
{
public class Competition : ICompetitionModel
{
public int Id { get; set; }
[Required]
public string? CompetitionName { get; set; }
[Required]
public DateTime CompetitionDateHolding { get; set; }
[Required]
public string? CompetitionCity { get; set; }
public static Competition Create(CompetitionBindingModel model)
{
if (model == null) return null;
return new Competition()
{
Id = model.Id,
CompetitionName = model.CompetitionName,
CompetitionDateHolding = model.CompetitionDateHolding,
CompetitionCity = model.CompetitionCity,
};
}
public void Update(CompetitionBindingModel model)
{
if (model == null) return;
CompetitionName = model.CompetitionName;
CompetitionDateHolding = model.CompetitionDateHolding;
CompetitionCity = model.CompetitionCity;
}
public CompetitionViewModel GetViewModel => new()
{
Id = Id,
CompetitionName = CompetitionName,
CompetitionDateHolding = CompetitionDateHolding,
CompetitionCity = CompetitionCity,
};
}
}

View File

@ -0,0 +1,55 @@
using SportCompetitionsContracts.BindingModels;
using SportCompetitionsContracts.ViewModels;
using SportCompetitionsDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SportCompetitionsDatabaseImplement.Models
{
public class Member : IMemberModel
{
public int Id { get; set; }
[Required]
public string? MemberFCs { get; set; } = string.Empty;
[Required]
public DateTime MemberBirthDate { get; set; }
[Required]
public string? MemberGender { get; set; } = string.Empty;
[Required]
public int TeamId { get; set; }
public static Member? Create(MemberBindingModel model)
{
if (model == null) return null;
return new Member()
{
Id = model.Id,
MemberFCs = model.MemberFCs,
MemberBirthDate = model.MemberBirthDate,
MemberGender = model.MemberGender,
TeamId = model.TeamId,
};
}
public void Update(MemberBindingModel model)
{
if (model == null) return;
MemberFCs = model.MemberFCs;
MemberBirthDate = model.MemberBirthDate;
MemberGender = model.MemberGender;
TeamId = model.TeamId;
}
public MemberViewModel GetViewModel => new()
{
Id = Id,
MemberFCs = MemberFCs,
MemberBirthDate = MemberBirthDate,
MemberGender = MemberGender,
TeamId = TeamId,
};
}
}

View File

@ -0,0 +1,62 @@
using SportCompetitionsContracts.BindingModels;
using SportCompetitionsContracts.ViewModels;
using SportCompetitionsDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SportCompetitionsDatabaseImplement.Models
{
public class Record : IRecordModel
{
public int Id { get; set; }
[Required]
public string RecordName { get; set; }
[Required]
public string RecordDecriptiption { get; set; }
[Required]
public int MemberId { get; set; }
[Required]
public DateTime RecordDate { get; set; }
[Required]
public int RecordValue { get; set; }
public static Record? Create(RecordBindingModel model)
{
if (model == null) return null;
return new Record()
{
Id = model.Id,
RecordName = model.RecordName,
RecordDecriptiption = model.RecordDecriptiption,
MemberId = model.MemberId,
RecordDate = model.RecordDate,
RecordValue = model.RecordValue
};
}
public void Update(RecordBindingModel model)
{
if (model == null) return;
Id = model.Id;
RecordName = model.RecordName;
RecordDecriptiption = model.RecordDecriptiption;
MemberId = model.MemberId;
RecordDate = model.RecordDate;
RecordValue = model.RecordValue;
}
public RecordViewModel GetViewModel => new()
{
Id = Id,
RecordName = RecordName,
RecordDecriptiption= RecordDecriptiption,
MemberId = MemberId,
RecordDate = RecordDate,
RecordValue = RecordValue
};
}
}

View File

@ -0,0 +1,51 @@
using SportCompetitionsContracts.BindingModels;
using SportCompetitionsContracts.ViewModels;
using SportCompetitionsDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SportCompetitionsDatabaseImplement.Models
{
public class Result : IResultModel
{
public int Id { get; set; }
[Required]
public int CompetitionId { get; set; }
[Required]
public int TeamId { get; set; }
[Required]
public int ResultPosition { get; set; }
public static Result? Create(ResultBindingModel model)
{
if (model == null) return null;
return new Result()
{
Id = model.Id,
CompetitionId = model.CompetitionId,
TeamId = model.TeamId,
ResultPosition = model.ResultPosition,
};
}
public void Update(ResultBindingModel model)
{
if (model == null) return;
CompetitionId = model.CompetitionId;
TeamId = model.TeamId;
ResultPosition = model.ResultPosition;
}
public ResultViewModel GetViewModel => new()
{
Id = Id,
CompetitionId = CompetitionId,
TeamId = TeamId,
ResultPosition = ResultPosition
};
}
}

View File

@ -0,0 +1,46 @@
using SportCompetitionsContracts.BindingModels;
using SportCompetitionsContracts.ViewModels;
using SportCompetitionsDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SportCompetitionsDatabaseImplement.Models
{
public class Team : ITeamModel
{
public int Id { get; set; }
[Required]
public string? TeamName { get; set; }
[Required]
public string? TeamCountry { get; set; }
public static Team? Create(TeamBindingModel model)
{
if (model == null) return null;
return new Team()
{
Id = model.Id,
TeamName = model.TeamName,
TeamCountry = model.TeamCountry,
};
}
public void Update(TeamBindingModel model)
{
if (model == null) return;
TeamName = model.TeamName;
TeamCountry = model.TeamCountry;
}
public TeamViewModel GetViewModel => new()
{
Id = Id,
TeamName = TeamName,
TeamCountry = TeamCountry
};
}
}

View File

@ -0,0 +1,14 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SportCompetitionsDatabaseImplement
{
public class SportCompetitionsDatabase : DbContext
{
}
}

View File

@ -0,0 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.11" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.11">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="7.0.11" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SportCompetitionsBusinessLogic\SportCompetitionsBusinessLogic.csproj" />
<ProjectReference Include="..\SportCompetitionsContracts\SportCompetitionsContracts.csproj" />
<ProjectReference Include="..\SportCompetitionsDataModels\SportCompetitionsDataModels.csproj" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]

View File

@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("SportCompetitionsDatabaseImplement")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("SportCompetitionsDatabaseImplement")]
[assembly: System.Reflection.AssemblyTitleAttribute("SportCompetitionsDatabaseImplement")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Создано классом WriteCodeFragment MSBuild.

View File

@ -0,0 +1 @@
2d2988f975f68f6e5d07a14481f87b1ba2b3678c

View File

@ -0,0 +1,11 @@
is_global = true
build_property.TargetFramework = net7.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = SportCompetitionsDatabaseImplement
build_property.ProjectDir = F:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\

View File

@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

View File

@ -0,0 +1,265 @@
{
"format": 1,
"restore": {
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj": {}
},
"projects": {
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
"projectName": "SportCompetitionsBusinessLogic",
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
},
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json"
}
}
},
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
"projectName": "SportCompetitionsContracts",
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json"
}
}
},
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
"projectName": "SportCompetitionsDatabaseImplement",
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj"
},
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
},
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"dependencies": {
"Microsoft.EntityFrameworkCore": {
"target": "Package",
"version": "[7.0.11, )"
},
"Microsoft.EntityFrameworkCore.Tools": {
"include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
"suppressParent": "All",
"target": "Package",
"version": "[7.0.11, )"
},
"Npgsql.EntityFrameworkCore.PostgreSQL": {
"target": "Package",
"version": "[7.0.11, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json"
}
}
},
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
"projectName": "SportCompetitionsDataModels",
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Леонид\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.7.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Леонид\.nuget\packages\" />
</ItemGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore\7.0.11\buildTransitive\net6.0\Microsoft.EntityFrameworkCore.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore\7.0.11\buildTransitive\net6.0\Microsoft.EntityFrameworkCore.props')" />
<Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore.design\7.0.11\build\net6.0\Microsoft.EntityFrameworkCore.Design.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore.design\7.0.11\build\net6.0\Microsoft.EntityFrameworkCore.Design.props')" />
</ImportGroup>
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\Леонид\.nuget\packages\microsoft.entityframeworkcore.tools\7.0.11</PkgMicrosoft_EntityFrameworkCore_Tools>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)system.text.json\7.0.0\buildTransitive\net6.0\System.Text.Json.targets" Condition="Exists('$(NuGetPackageRoot)system.text.json\7.0.0\buildTransitive\net6.0\System.Text.Json.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\7.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\7.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets')" />
</ImportGroup>
</Project>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,32 @@
{
"version": 2,
"dgSpecHash": "lLiugfcPzmZXwdZv1oP6fwytLV4f18DxdUFAajjNJHslzExtFN7FxY7giWKs5fDnKy8nSYlSY7RdKBoYNSdNVQ==",
"success": true,
"projectFilePath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
"expectedPackageFiles": [
"C:\\Users\\Леонид\\.nuget\\packages\\humanizer.core\\2.14.1\\humanizer.core.2.14.1.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\microsoft.entityframeworkcore\\7.0.11\\microsoft.entityframeworkcore.7.0.11.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\7.0.11\\microsoft.entityframeworkcore.abstractions.7.0.11.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\7.0.11\\microsoft.entityframeworkcore.analyzers.7.0.11.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\microsoft.entityframeworkcore.design\\7.0.11\\microsoft.entityframeworkcore.design.7.0.11.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\7.0.11\\microsoft.entityframeworkcore.relational.7.0.11.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\microsoft.entityframeworkcore.tools\\7.0.11\\microsoft.entityframeworkcore.tools.7.0.11.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\7.0.0\\microsoft.extensions.caching.abstractions.7.0.0.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\microsoft.extensions.caching.memory\\7.0.0\\microsoft.extensions.caching.memory.7.0.0.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\7.0.0\\microsoft.extensions.configuration.abstractions.7.0.0.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\7.0.0\\microsoft.extensions.dependencyinjection.7.0.0.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\7.0.0\\microsoft.extensions.dependencyinjection.abstractions.7.0.0.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\microsoft.extensions.dependencymodel\\7.0.0\\microsoft.extensions.dependencymodel.7.0.0.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\microsoft.extensions.logging\\7.0.0\\microsoft.extensions.logging.7.0.0.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\7.0.0\\microsoft.extensions.logging.abstractions.7.0.0.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\microsoft.extensions.options\\7.0.0\\microsoft.extensions.options.7.0.0.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\microsoft.extensions.primitives\\7.0.0\\microsoft.extensions.primitives.7.0.0.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\mono.texttemplating\\2.2.1\\mono.texttemplating.2.2.1.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\npgsql\\7.0.6\\npgsql.7.0.6.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\npgsql.entityframeworkcore.postgresql\\7.0.11\\npgsql.entityframeworkcore.postgresql.7.0.11.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\system.codedom\\4.4.0\\system.codedom.4.4.0.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\system.text.encodings.web\\7.0.0\\system.text.encodings.web.7.0.0.nupkg.sha512",
"C:\\Users\\Леонид\\.nuget\\packages\\system.text.json\\7.0.0\\system.text.json.7.0.0.nupkg.sha512"
],
"logs": []
}