Compare commits
No commits in common. "21ca8bae118d1928b4a868d6cb0093f41f64c219" and "486c4841965a878a38b0d533018ff23ce850f438" have entirely different histories.
21ca8bae11
...
486c484196
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 824 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly =
|
|||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = SportCompetitionsBusinessLogic
|
build_property.RootNamespace = SportCompetitionsBusinessLogic
|
||||||
build_property.ProjectDir = E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\
|
build_property.ProjectDir = F:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
85c1a2166ab92da8b083089fb7d16636cbcd3b07
|
dee6decc0148d80a81c45393639ca5db563b8db8
|
||||||
|
@ -15,20 +15,3 @@ F:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\S
|
|||||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\refint\SportCompetitionsBusinessLogic.dll
|
F:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\refint\SportCompetitionsBusinessLogic.dll
|
||||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.pdb
|
F:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.pdb
|
||||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\ref\SportCompetitionsBusinessLogic.dll
|
F:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\ref\SportCompetitionsBusinessLogic.dll
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\bin\Debug\net7.0\SportCompetitionsBusinessLogic.deps.json
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\bin\Debug\net7.0\SportCompetitionsBusinessLogic.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\bin\Debug\net7.0\SportCompetitionsBusinessLogic.pdb
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\bin\Debug\net7.0\SportCompetitionsContracts.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\bin\Debug\net7.0\SportCompetitionsDataModels.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\bin\Debug\net7.0\SportCompetitionsContracts.pdb
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\bin\Debug\net7.0\SportCompetitionsDataModels.pdb
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.csproj.AssemblyReference.cache
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.GeneratedMSBuildEditorConfig.editorconfig
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.AssemblyInfoInputs.cache
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.AssemblyInfo.cs
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.csproj.CoreCompileInputs.cache
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.csproj.CopyComplete
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\refint\SportCompetitionsBusinessLogic.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.pdb
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\ref\SportCompetitionsBusinessLogic.dll
|
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,17 +1,17 @@
|
|||||||
{
|
{
|
||||||
"format": 1,
|
"format": 1,
|
||||||
"restore": {
|
"restore": {
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {}
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {}
|
||||||
},
|
},
|
||||||
"projects": {
|
"projects": {
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||||
"projectName": "SportCompetitionsBusinessLogic",
|
"projectName": "SportCompetitionsBusinessLogic",
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\obj\\",
|
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
@ -28,11 +28,11 @@
|
|||||||
"net7.0": {
|
"net7.0": {
|
||||||
"targetAlias": "net7.0",
|
"targetAlias": "net7.0",
|
||||||
"projectReferences": {
|
"projectReferences": {
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
||||||
},
|
},
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -66,14 +66,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||||
"projectName": "SportCompetitionsContracts",
|
"projectName": "SportCompetitionsContracts",
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
|
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
@ -90,8 +90,8 @@
|
|||||||
"net7.0": {
|
"net7.0": {
|
||||||
"targetAlias": "net7.0",
|
"targetAlias": "net7.0",
|
||||||
"projectReferences": {
|
"projectReferences": {
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -125,14 +125,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||||
"projectName": "SportCompetitionsDataModels",
|
"projectName": "SportCompetitionsDataModels",
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
@ -51,11 +51,11 @@
|
|||||||
"project": {
|
"project": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||||
"projectName": "SportCompetitionsBusinessLogic",
|
"projectName": "SportCompetitionsBusinessLogic",
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\obj\\",
|
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
@ -72,11 +72,11 @@
|
|||||||
"net7.0": {
|
"net7.0": {
|
||||||
"targetAlias": "net7.0",
|
"targetAlias": "net7.0",
|
||||||
"projectReferences": {
|
"projectReferences": {
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
||||||
},
|
},
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "XqPAODN0gbgws5GNcKHkQOL3N6w0YWKks1SSvuV3CQJt42TIvQlOYcpLWN5f9B7XFC/Njb9/KHXiVwdFKh8ykg==",
|
"dgSpecHash": "EeSMBrv15H+BpdJAnB7z7LT5OlHKMR3tdaQ8Dj/XUyGJlqAoEAArRVHN5JUCdPthkct2OoBxVYhfPg2zqwIisg==",
|
||||||
"success": true,
|
"success": true,
|
||||||
"projectFilePath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
"projectFilePath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||||
"expectedPackageFiles": [],
|
"expectedPackageFiles": [],
|
||||||
"logs": []
|
"logs": []
|
||||||
}
|
}
|
@ -11,7 +11,7 @@ namespace SportCompetitionsContracts.BindingModels
|
|||||||
{
|
{
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
public string? MemberFCs { get; set; }
|
public string? MemberFCs { get; set; }
|
||||||
public DateTime MemberBirthDate { get; set; }
|
public DateTime MemberBirthDate { get; }
|
||||||
|
|
||||||
public string? MemberGender { get; set; }
|
public string? MemberGender { get; set; }
|
||||||
public int TeamId { get; set; }
|
public int TeamId { get; set; }
|
||||||
|
@ -11,7 +11,7 @@ namespace SportCompetitionsContracts.ViewModels
|
|||||||
public class ResultViewModel : IResultModel
|
public class ResultViewModel : IResultModel
|
||||||
{
|
{
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
[DisplayName("Описание результата")]
|
[DisplayName("Название результата")]
|
||||||
public string? ResultName { get; set; }
|
public string? ResultName { get; set; }
|
||||||
[DisplayName("Соревнование")]
|
[DisplayName("Соревнование")]
|
||||||
public int CompetitionId { get; set; }
|
public int CompetitionId { get; set; }
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly =
|
|||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = SportCompetitionsContracts
|
build_property.RootNamespace = SportCompetitionsContracts
|
||||||
build_property.ProjectDir = E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\
|
build_property.ProjectDir = F:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
d0ede1a59c4b3b47cd20d380ef89e16a630730b9
|
995306eab9233fbd497a9ad0fa6c74e9361c9110
|
||||||
|
@ -13,18 +13,3 @@ F:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\Sport
|
|||||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\refint\SportCompetitionsContracts.dll
|
F:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\refint\SportCompetitionsContracts.dll
|
||||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.pdb
|
F:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.pdb
|
||||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\ref\SportCompetitionsContracts.dll
|
F:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\ref\SportCompetitionsContracts.dll
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\bin\Debug\net7.0\SportCompetitionsContracts.deps.json
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\bin\Debug\net7.0\SportCompetitionsContracts.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\bin\Debug\net7.0\SportCompetitionsContracts.pdb
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\bin\Debug\net7.0\SportCompetitionsDataModels.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\bin\Debug\net7.0\SportCompetitionsDataModels.pdb
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.csproj.AssemblyReference.cache
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.GeneratedMSBuildEditorConfig.editorconfig
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.AssemblyInfoInputs.cache
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.AssemblyInfo.cs
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.csproj.CoreCompileInputs.cache
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.csproj.CopyComplete
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\refint\SportCompetitionsContracts.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.pdb
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\ref\SportCompetitionsContracts.dll
|
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,17 +1,17 @@
|
|||||||
{
|
{
|
||||||
"format": 1,
|
"format": 1,
|
||||||
"restore": {
|
"restore": {
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {}
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {}
|
||||||
},
|
},
|
||||||
"projects": {
|
"projects": {
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||||
"projectName": "SportCompetitionsContracts",
|
"projectName": "SportCompetitionsContracts",
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
|
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
@ -28,8 +28,8 @@
|
|||||||
"net7.0": {
|
"net7.0": {
|
||||||
"targetAlias": "net7.0",
|
"targetAlias": "net7.0",
|
||||||
"projectReferences": {
|
"projectReferences": {
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -63,14 +63,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||||
"projectName": "SportCompetitionsDataModels",
|
"projectName": "SportCompetitionsDataModels",
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
@ -32,11 +32,11 @@
|
|||||||
"project": {
|
"project": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||||
"projectName": "SportCompetitionsContracts",
|
"projectName": "SportCompetitionsContracts",
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
|
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
@ -53,8 +53,8 @@
|
|||||||
"net7.0": {
|
"net7.0": {
|
||||||
"targetAlias": "net7.0",
|
"targetAlias": "net7.0",
|
||||||
"projectReferences": {
|
"projectReferences": {
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "0cwFivO8FP9xTz8RC2lmaCLjfAEJkQMrENLcgLs0HwCArLIlWiZ/Wo2g8dZxrHZcJFv2FObol9+75kWGbo7nVA==",
|
"dgSpecHash": "5EhweaXzQ7PvtlnsR9egwQOGOnH2M1FS1fBEHfzjGtrctM8mPuGxXV6THNqgEdTBTmcax2RYTU035XsojAJzdw==",
|
||||||
"success": true,
|
"success": true,
|
||||||
"projectFilePath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
"projectFilePath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||||
"expectedPackageFiles": [],
|
"expectedPackageFiles": [],
|
||||||
"logs": []
|
"logs": []
|
||||||
}
|
}
|
Binary file not shown.
Binary file not shown.
@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly =
|
|||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = SportCompetitionsDataModels
|
build_property.RootNamespace = SportCompetitionsDataModels
|
||||||
build_property.ProjectDir = E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\
|
build_property.ProjectDir = F:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\
|
||||||
|
Binary file not shown.
@ -9,14 +9,3 @@ F:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\Spor
|
|||||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\refint\SportCompetitionsDataModels.dll
|
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\refint\SportCompetitionsDataModels.dll
|
||||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\SportCompetitionsDataModels.pdb
|
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\SportCompetitionsDataModels.pdb
|
||||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\ref\SportCompetitionsDataModels.dll
|
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\ref\SportCompetitionsDataModels.dll
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\bin\Debug\net7.0\SportCompetitionsDataModels.deps.json
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\bin\Debug\net7.0\SportCompetitionsDataModels.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\bin\Debug\net7.0\SportCompetitionsDataModels.pdb
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\SportCompetitionsDataModels.GeneratedMSBuildEditorConfig.editorconfig
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\SportCompetitionsDataModels.AssemblyInfoInputs.cache
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\SportCompetitionsDataModels.AssemblyInfo.cs
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\SportCompetitionsDataModels.csproj.CoreCompileInputs.cache
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\SportCompetitionsDataModels.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\refint\SportCompetitionsDataModels.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\SportCompetitionsDataModels.pdb
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\ref\SportCompetitionsDataModels.dll
|
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,17 +1,17 @@
|
|||||||
{
|
{
|
||||||
"format": 1,
|
"format": 1,
|
||||||
"restore": {
|
"restore": {
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {}
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {}
|
||||||
},
|
},
|
||||||
"projects": {
|
"projects": {
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||||
"projectName": "SportCompetitionsDataModels",
|
"projectName": "SportCompetitionsDataModels",
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
@ -13,11 +13,11 @@
|
|||||||
"project": {
|
"project": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||||
"projectName": "SportCompetitionsDataModels",
|
"projectName": "SportCompetitionsDataModels",
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "2a0aIroBDw8LLxjbs7O2NikXKh78IUWNjUNdt5ERYa1ZAqep/JjZohPmEqxVw0Buh8EjqUpf8yhH/7XgRPD1kg==",
|
"dgSpecHash": "uXpC3iu3zkJptwl9kCv1Nml6pCj0CTgJiPsngH9VyJPKkNkBsusAdS6ctJZKUii4ZJuCVeyI3QRyJmyn6NKySA==",
|
||||||
"success": true,
|
"success": true,
|
||||||
"projectFilePath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
"projectFilePath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||||
"expectedPackageFiles": [],
|
"expectedPackageFiles": [],
|
||||||
"logs": []
|
"logs": []
|
||||||
}
|
}
|
@ -12,8 +12,8 @@ using SportCompetitionsDatabaseImplement;
|
|||||||
namespace SportCompetitionsDatabaseImplement.Migrations
|
namespace SportCompetitionsDatabaseImplement.Migrations
|
||||||
{
|
{
|
||||||
[DbContext(typeof(SportCompetitionsDatabase))]
|
[DbContext(typeof(SportCompetitionsDatabase))]
|
||||||
[Migration("20240423195756_aboba")]
|
[Migration("20240423180214_last")]
|
||||||
partial class aboba
|
partial class last
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
@ -7,7 +7,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
|||||||
namespace SportCompetitionsDatabaseImplement.Migrations
|
namespace SportCompetitionsDatabaseImplement.Migrations
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public partial class aboba : Migration
|
public partial class last : Migration
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
protected override void Up(MigrationBuilder migrationBuilder)
|
protected override void Up(MigrationBuilder migrationBuilder)
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly =
|
|||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = SportCompetitionsDatabaseImplement
|
build_property.RootNamespace = SportCompetitionsDatabaseImplement
|
||||||
build_property.ProjectDir = E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\
|
build_property.ProjectDir = F:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
90cfa5a488149b0f3923ae43fa9e51e33ab69aa3
|
dce225f560b6b8a2a84a1ab842296c141b60b367
|
||||||
|
@ -19,24 +19,3 @@ F:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7
|
|||||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.pdb
|
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.pdb
|
||||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.genruntimeconfig.cache
|
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.genruntimeconfig.cache
|
||||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\ref\SportCompetitionsDatabaseImplement.dll
|
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\ref\SportCompetitionsDatabaseImplement.dll
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsDatabaseImplement.deps.json
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsDatabaseImplement.runtimeconfig.json
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsDatabaseImplement.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsDatabaseImplement.pdb
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsBusinessLogic.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsContracts.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsDataModels.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsBusinessLogic.pdb
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsContracts.pdb
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsDataModels.pdb
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.csproj.AssemblyReference.cache
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.GeneratedMSBuildEditorConfig.editorconfig
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.AssemblyInfoInputs.cache
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.AssemblyInfo.cs
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.csproj.CoreCompileInputs.cache
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.csproj.CopyComplete
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\refint\SportCompetitionsDatabaseImplement.dll
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.pdb
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.genruntimeconfig.cache
|
|
||||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\ref\SportCompetitionsDatabaseImplement.dll
|
|
||||||
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
5d90c0faaee054edba0f29a8e2f336b561118d79
|
77beb39bbb4dcc88c7f1fe9f9c66a68ef7ef7729
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,17 +1,17 @@
|
|||||||
{
|
{
|
||||||
"format": 1,
|
"format": 1,
|
||||||
"restore": {
|
"restore": {
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj": {}
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj": {}
|
||||||
},
|
},
|
||||||
"projects": {
|
"projects": {
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||||
"projectName": "SportCompetitionsBusinessLogic",
|
"projectName": "SportCompetitionsBusinessLogic",
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\obj\\",
|
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
@ -28,11 +28,11 @@
|
|||||||
"net7.0": {
|
"net7.0": {
|
||||||
"targetAlias": "net7.0",
|
"targetAlias": "net7.0",
|
||||||
"projectReferences": {
|
"projectReferences": {
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
||||||
},
|
},
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -66,14 +66,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||||
"projectName": "SportCompetitionsContracts",
|
"projectName": "SportCompetitionsContracts",
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
|
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
@ -90,8 +90,8 @@
|
|||||||
"net7.0": {
|
"net7.0": {
|
||||||
"targetAlias": "net7.0",
|
"targetAlias": "net7.0",
|
||||||
"projectReferences": {
|
"projectReferences": {
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -125,14 +125,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
||||||
"projectName": "SportCompetitionsDatabaseImplement",
|
"projectName": "SportCompetitionsDatabaseImplement",
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
||||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\obj\\",
|
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
@ -149,14 +149,14 @@
|
|||||||
"net7.0": {
|
"net7.0": {
|
||||||
"targetAlias": "net7.0",
|
"targetAlias": "net7.0",
|
||||||
"projectReferences": {
|
"projectReferences": {
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj"
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj"
|
||||||
},
|
},
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
||||||
},
|
},
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -206,14 +206,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||||
"projectName": "SportCompetitionsDataModels",
|
"projectName": "SportCompetitionsDataModels",
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
@ -1087,11 +1087,11 @@
|
|||||||
"project": {
|
"project": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
||||||
"projectName": "SportCompetitionsDatabaseImplement",
|
"projectName": "SportCompetitionsDatabaseImplement",
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
||||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\obj\\",
|
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
@ -1108,14 +1108,14 @@
|
|||||||
"net7.0": {
|
"net7.0": {
|
||||||
"targetAlias": "net7.0",
|
"targetAlias": "net7.0",
|
||||||
"projectReferences": {
|
"projectReferences": {
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj"
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj"
|
||||||
},
|
},
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
||||||
},
|
},
|
||||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "DPjeYvNXpLNwtLQ/zV7RCOsYTyxaFKNoIU32QGLX9JdkxO/L06EfgZzLzxEMOADBJw7CwGHLNwl+8mjv3Qu60w==",
|
"dgSpecHash": "lLiugfcPzmZXwdZv1oP6fwytLV4f18DxdUFAajjNJHslzExtFN7FxY7giWKs5fDnKy8nSYlSY7RdKBoYNSdNVQ==",
|
||||||
"success": true,
|
"success": true,
|
||||||
"projectFilePath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
"projectFilePath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
||||||
"expectedPackageFiles": [
|
"expectedPackageFiles": [
|
||||||
"C:\\Users\\Леонид\\.nuget\\packages\\humanizer.core\\2.14.1\\humanizer.core.2.14.1.nupkg.sha512",
|
"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\\7.0.11\\microsoft.entityframeworkcore.7.0.11.nupkg.sha512",
|
||||||
|
56
SportCompetitionsView/FormMain.Designer.cs
generated
56
SportCompetitionsView/FormMain.Designer.cs
generated
@ -28,18 +28,27 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
|
dataGridView1 = new DataGridView();
|
||||||
menuStrip1 = new MenuStrip();
|
menuStrip1 = new MenuStrip();
|
||||||
toolStripMenuItem1 = new ToolStripMenuItem();
|
toolStripMenuItem1 = new ToolStripMenuItem();
|
||||||
toolStripMenuItem2 = new ToolStripMenuItem();
|
toolStripMenuItem2 = new ToolStripMenuItem();
|
||||||
мемберToolStripMenuItem = new ToolStripMenuItem();
|
button1 = new Button();
|
||||||
рекордыToolStripMenuItem = new ToolStripMenuItem();
|
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
||||||
результатыToolStripMenuItem = new ToolStripMenuItem();
|
|
||||||
menuStrip1.SuspendLayout();
|
menuStrip1.SuspendLayout();
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
|
// dataGridView1
|
||||||
|
//
|
||||||
|
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
dataGridView1.Location = new Point(12, 41);
|
||||||
|
dataGridView1.Name = "dataGridView1";
|
||||||
|
dataGridView1.RowTemplate.Height = 25;
|
||||||
|
dataGridView1.Size = new Size(583, 397);
|
||||||
|
dataGridView1.TabIndex = 0;
|
||||||
|
//
|
||||||
// menuStrip1
|
// menuStrip1
|
||||||
//
|
//
|
||||||
menuStrip1.Items.AddRange(new ToolStripItem[] { toolStripMenuItem1, toolStripMenuItem2, мемберToolStripMenuItem, рекордыToolStripMenuItem, результатыToolStripMenuItem });
|
menuStrip1.Items.AddRange(new ToolStripItem[] { toolStripMenuItem1, toolStripMenuItem2 });
|
||||||
menuStrip1.Location = new Point(0, 0);
|
menuStrip1.Location = new Point(0, 0);
|
||||||
menuStrip1.Name = "menuStrip1";
|
menuStrip1.Name = "menuStrip1";
|
||||||
menuStrip1.Size = new Size(800, 24);
|
menuStrip1.Size = new Size(800, 24);
|
||||||
@ -60,36 +69,27 @@
|
|||||||
toolStripMenuItem2.Text = "Команды";
|
toolStripMenuItem2.Text = "Команды";
|
||||||
toolStripMenuItem2.Click += TeamsToolStripMenuItem_Click;
|
toolStripMenuItem2.Click += TeamsToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// мемберToolStripMenuItem
|
// button1
|
||||||
//
|
//
|
||||||
мемберToolStripMenuItem.Name = "мемберToolStripMenuItem";
|
button1.Location = new Point(620, 41);
|
||||||
мемберToolStripMenuItem.Size = new Size(77, 20);
|
button1.Name = "button1";
|
||||||
мемберToolStripMenuItem.Text = "Участники";
|
button1.Size = new Size(138, 41);
|
||||||
мемберToolStripMenuItem.Click += MembersToolStripMenuItem_Click;
|
button1.TabIndex = 2;
|
||||||
//
|
button1.Text = "button1";
|
||||||
// рекордыToolStripMenuItem
|
button1.UseVisualStyleBackColor = true;
|
||||||
//
|
|
||||||
рекордыToolStripMenuItem.Name = "рекордыToolStripMenuItem";
|
|
||||||
рекордыToolStripMenuItem.Size = new Size(67, 20);
|
|
||||||
рекордыToolStripMenuItem.Text = "Рекорды";
|
|
||||||
рекордыToolStripMenuItem.Click += RecordsToolStripMenuItem_Click;
|
|
||||||
//
|
|
||||||
// результатыToolStripMenuItem
|
|
||||||
//
|
|
||||||
результатыToolStripMenuItem.Name = "результатыToolStripMenuItem";
|
|
||||||
результатыToolStripMenuItem.Size = new Size(81, 20);
|
|
||||||
результатыToolStripMenuItem.Text = "Результаты";
|
|
||||||
результатыToolStripMenuItem.Click += ResultsToolStripMenuItem_Click;
|
|
||||||
//
|
//
|
||||||
// FormMain
|
// FormMain
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
ClientSize = new Size(800, 334);
|
ClientSize = new Size(800, 450);
|
||||||
|
Controls.Add(button1);
|
||||||
|
Controls.Add(dataGridView1);
|
||||||
Controls.Add(menuStrip1);
|
Controls.Add(menuStrip1);
|
||||||
MainMenuStrip = menuStrip1;
|
MainMenuStrip = menuStrip1;
|
||||||
Name = "FormMain";
|
Name = "FormMain";
|
||||||
Text = "ГлавнаяФорма";
|
Text = "Form1";
|
||||||
|
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
||||||
menuStrip1.ResumeLayout(false);
|
menuStrip1.ResumeLayout(false);
|
||||||
menuStrip1.PerformLayout();
|
menuStrip1.PerformLayout();
|
||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
@ -97,11 +97,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
private DataGridView dataGridView1;
|
||||||
private MenuStrip menuStrip1;
|
private MenuStrip menuStrip1;
|
||||||
private ToolStripMenuItem toolStripMenuItem1;
|
private ToolStripMenuItem toolStripMenuItem1;
|
||||||
private ToolStripMenuItem toolStripMenuItem2;
|
private ToolStripMenuItem toolStripMenuItem2;
|
||||||
private ToolStripMenuItem мемберToolStripMenuItem;
|
private Button button1;
|
||||||
private ToolStripMenuItem рекордыToolStripMenuItem;
|
|
||||||
private ToolStripMenuItem результатыToolStripMenuItem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -34,31 +34,5 @@ namespace SportCompetitionsView
|
|||||||
form.ShowDialog();
|
form.ShowDialog();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void MembersToolStripMenuItem_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
var service = Program.ServiceProvider?.GetService(typeof(FormMembers));
|
|
||||||
if (service is FormMembers form)
|
|
||||||
{
|
|
||||||
form.ShowDialog();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
private void RecordsToolStripMenuItem_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
var service = Program.ServiceProvider?.GetService(typeof(FormRecords));
|
|
||||||
if (service is FormRecords form)
|
|
||||||
{
|
|
||||||
form.ShowDialog();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void ResultsToolStripMenuItem_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
var service = Program.ServiceProvider?.GetService(typeof(FormResults));
|
|
||||||
if (service is FormResults form)
|
|
||||||
{
|
|
||||||
form.ShowDialog();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
54
SportCompetitionsView/FormMember.Designer.cs
generated
54
SportCompetitionsView/FormMember.Designer.cs
generated
@ -34,10 +34,6 @@
|
|||||||
label2 = new Label();
|
label2 = new Label();
|
||||||
textBoxGender = new TextBox();
|
textBoxGender = new TextBox();
|
||||||
label3 = new Label();
|
label3 = new Label();
|
||||||
comboBoxTeam = new ComboBox();
|
|
||||||
label4 = new Label();
|
|
||||||
button1 = new Button();
|
|
||||||
buttonCanc = new Button();
|
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
@ -88,52 +84,11 @@
|
|||||||
label3.TabIndex = 5;
|
label3.TabIndex = 5;
|
||||||
label3.Text = "Гендер";
|
label3.Text = "Гендер";
|
||||||
//
|
//
|
||||||
// comboBoxTeam
|
|
||||||
//
|
|
||||||
comboBoxTeam.FormattingEnabled = true;
|
|
||||||
comboBoxTeam.Location = new Point(108, 135);
|
|
||||||
comboBoxTeam.Name = "comboBoxTeam";
|
|
||||||
comboBoxTeam.Size = new Size(200, 23);
|
|
||||||
comboBoxTeam.TabIndex = 6;
|
|
||||||
//
|
|
||||||
// label4
|
|
||||||
//
|
|
||||||
label4.AutoSize = true;
|
|
||||||
label4.Location = new Point(12, 138);
|
|
||||||
label4.Name = "label4";
|
|
||||||
label4.Size = new Size(55, 15);
|
|
||||||
label4.TabIndex = 7;
|
|
||||||
label4.Text = "Команда";
|
|
||||||
//
|
|
||||||
// button1
|
|
||||||
//
|
|
||||||
button1.Location = new Point(108, 167);
|
|
||||||
button1.Name = "button1";
|
|
||||||
button1.Size = new Size(100, 40);
|
|
||||||
button1.TabIndex = 8;
|
|
||||||
button1.Text = "Сохранить";
|
|
||||||
button1.UseVisualStyleBackColor = true;
|
|
||||||
button1.Click += buttonSave_Click;
|
|
||||||
//
|
|
||||||
// buttonCanc
|
|
||||||
//
|
|
||||||
buttonCanc.Location = new Point(214, 167);
|
|
||||||
buttonCanc.Name = "buttonCanc";
|
|
||||||
buttonCanc.Size = new Size(94, 40);
|
|
||||||
buttonCanc.TabIndex = 9;
|
|
||||||
buttonCanc.Text = "Отмена";
|
|
||||||
buttonCanc.UseVisualStyleBackColor = true;
|
|
||||||
buttonCanc.Click += buttonCancel_Click;
|
|
||||||
//
|
|
||||||
// FormMember
|
// FormMember
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
ClientSize = new Size(345, 219);
|
ClientSize = new Size(800, 450);
|
||||||
Controls.Add(buttonCanc);
|
|
||||||
Controls.Add(button1);
|
|
||||||
Controls.Add(label4);
|
|
||||||
Controls.Add(comboBoxTeam);
|
|
||||||
Controls.Add(label3);
|
Controls.Add(label3);
|
||||||
Controls.Add(textBoxGender);
|
Controls.Add(textBoxGender);
|
||||||
Controls.Add(label2);
|
Controls.Add(label2);
|
||||||
@ -141,8 +96,7 @@
|
|||||||
Controls.Add(textBoxFCs);
|
Controls.Add(textBoxFCs);
|
||||||
Controls.Add(label1);
|
Controls.Add(label1);
|
||||||
Name = "FormMember";
|
Name = "FormMember";
|
||||||
Text = "Пользователь";
|
Text = "FormMember";
|
||||||
Load += FormMember_Load;
|
|
||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
PerformLayout();
|
PerformLayout();
|
||||||
}
|
}
|
||||||
@ -155,9 +109,5 @@
|
|||||||
private Label label2;
|
private Label label2;
|
||||||
private TextBox textBoxGender;
|
private TextBox textBoxGender;
|
||||||
private Label label3;
|
private Label label3;
|
||||||
private ComboBox comboBoxTeam;
|
|
||||||
private Label label4;
|
|
||||||
private Button button1;
|
|
||||||
private Button buttonCanc;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,10 +1,4 @@
|
|||||||
using Microsoft.VisualBasic.Logging;
|
using System;
|
||||||
using SportCompetitionsContracts.BindingModels;
|
|
||||||
using SportCompetitionsContracts.BusinessLogicsContracts;
|
|
||||||
using SportCompetitionsContracts.SearchModels;
|
|
||||||
using SportCompetitionsContracts.ViewModels;
|
|
||||||
using SportCompetitionsDataModels.Models;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
@ -18,62 +12,9 @@ namespace SportCompetitionsView
|
|||||||
{
|
{
|
||||||
public partial class FormMember : Form
|
public partial class FormMember : Form
|
||||||
{
|
{
|
||||||
private readonly IMemberLogic _logicM;
|
public FormMember()
|
||||||
private readonly ITeamLogic _logicT;
|
|
||||||
private int? _id;
|
|
||||||
public int Id { set { _id = value; } }
|
|
||||||
|
|
||||||
public FormMember(IMemberLogic logicM, ITeamLogic logicT)
|
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
_logicM = logicM;
|
|
||||||
_logicT = logicT;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void FormMember_Load(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
var _listP = _logicT.ReadList(null);
|
|
||||||
if (_listP != null)
|
|
||||||
{
|
|
||||||
comboBoxTeam.DisplayMember = "TeamName";
|
|
||||||
comboBoxTeam.ValueMember = "Id";
|
|
||||||
comboBoxTeam.DataSource = _listP;
|
|
||||||
comboBoxTeam.SelectedItem = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void buttonSave_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
var model = new MemberBindingModel
|
|
||||||
{
|
|
||||||
Id = _id ?? 0,
|
|
||||||
MemberFCs = textBoxFCs.Text,
|
|
||||||
MemberBirthDate = dateTimePicker1.Value,
|
|
||||||
MemberGender = textBoxGender.Text,
|
|
||||||
TeamId = comboBoxTeam.SelectedIndex,
|
|
||||||
};
|
|
||||||
var operationResult = _id.HasValue ? _logicM.Update(model) : _logicM.Create(model);
|
|
||||||
if (!operationResult)
|
|
||||||
{
|
|
||||||
throw new Exception("Ошибка при сохранении. Доп информация в логах");
|
|
||||||
}
|
|
||||||
MessageBox.Show("Сохранение прошло успешно", "Сообщение", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
||||||
DialogResult = DialogResult.OK;
|
|
||||||
Close();
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
private void buttonCancel_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
DialogResult = DialogResult.Cancel;
|
|
||||||
Close();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
100
SportCompetitionsView/FormMembers.Designer.cs
generated
100
SportCompetitionsView/FormMembers.Designer.cs
generated
@ -1,100 +0,0 @@
|
|||||||
namespace SportCompetitionsView
|
|
||||||
{
|
|
||||||
partial class FormMembers
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Required designer variable.
|
|
||||||
/// </summary>
|
|
||||||
private System.ComponentModel.IContainer components = null;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Clean up any resources being used.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
||||||
protected override void Dispose(bool disposing)
|
|
||||||
{
|
|
||||||
if (disposing && (components != null))
|
|
||||||
{
|
|
||||||
components.Dispose();
|
|
||||||
}
|
|
||||||
base.Dispose(disposing);
|
|
||||||
}
|
|
||||||
|
|
||||||
#region Windows Form Designer generated code
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Required method for Designer support - do not modify
|
|
||||||
/// the contents of this method with the code editor.
|
|
||||||
/// </summary>
|
|
||||||
private void InitializeComponent()
|
|
||||||
{
|
|
||||||
dataGridView1 = new DataGridView();
|
|
||||||
buttonDel = new Button();
|
|
||||||
buttonEdit = new Button();
|
|
||||||
buttonAdd = new Button();
|
|
||||||
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
|
||||||
SuspendLayout();
|
|
||||||
//
|
|
||||||
// dataGridView1
|
|
||||||
//
|
|
||||||
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
||||||
dataGridView1.Location = new Point(12, 12);
|
|
||||||
dataGridView1.Name = "dataGridView1";
|
|
||||||
dataGridView1.RowTemplate.Height = 25;
|
|
||||||
dataGridView1.Size = new Size(452, 408);
|
|
||||||
dataGridView1.TabIndex = 0;
|
|
||||||
//
|
|
||||||
// buttonDel
|
|
||||||
//
|
|
||||||
buttonDel.Location = new Point(501, 137);
|
|
||||||
buttonDel.Name = "buttonDel";
|
|
||||||
buttonDel.Size = new Size(128, 42);
|
|
||||||
buttonDel.TabIndex = 6;
|
|
||||||
buttonDel.Text = "Удалить";
|
|
||||||
buttonDel.UseVisualStyleBackColor = true;
|
|
||||||
buttonDel.Click += buttonDel_Click;
|
|
||||||
//
|
|
||||||
// buttonEdit
|
|
||||||
//
|
|
||||||
buttonEdit.Location = new Point(501, 74);
|
|
||||||
buttonEdit.Name = "buttonEdit";
|
|
||||||
buttonEdit.Size = new Size(128, 44);
|
|
||||||
buttonEdit.TabIndex = 5;
|
|
||||||
buttonEdit.Text = "Изменить";
|
|
||||||
buttonEdit.UseVisualStyleBackColor = true;
|
|
||||||
buttonEdit.Click += buttonUpd_Click;
|
|
||||||
//
|
|
||||||
// buttonAdd
|
|
||||||
//
|
|
||||||
buttonAdd.Location = new Point(501, 12);
|
|
||||||
buttonAdd.Name = "buttonAdd";
|
|
||||||
buttonAdd.Size = new Size(128, 43);
|
|
||||||
buttonAdd.TabIndex = 4;
|
|
||||||
buttonAdd.Text = "Добавить";
|
|
||||||
buttonAdd.UseVisualStyleBackColor = true;
|
|
||||||
buttonAdd.Click += buttonAdd_Click;
|
|
||||||
//
|
|
||||||
// FormMembers
|
|
||||||
//
|
|
||||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
|
||||||
ClientSize = new Size(653, 450);
|
|
||||||
Controls.Add(buttonDel);
|
|
||||||
Controls.Add(buttonEdit);
|
|
||||||
Controls.Add(buttonAdd);
|
|
||||||
Controls.Add(dataGridView1);
|
|
||||||
Name = "FormMembers";
|
|
||||||
Text = "FormMembers";
|
|
||||||
Load += FormMembers_Load;
|
|
||||||
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
|
||||||
ResumeLayout(false);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
private DataGridView dataGridView1;
|
|
||||||
private Button buttonDel;
|
|
||||||
private Button buttonEdit;
|
|
||||||
private Button buttonAdd;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,100 +0,0 @@
|
|||||||
using SportCompetitionsContracts.BindingModels;
|
|
||||||
using SportCompetitionsContracts.BusinessLogicsContracts;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
|
|
||||||
namespace SportCompetitionsView
|
|
||||||
{
|
|
||||||
public partial class FormMembers : Form
|
|
||||||
{
|
|
||||||
private readonly IMemberLogic _logic;
|
|
||||||
|
|
||||||
public FormMembers(IMemberLogic logic)
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
_logic = logic;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void FormMembers_Load(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
LoadData();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void LoadData()
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
var list = _logic.ReadList(null);
|
|
||||||
if (list != null)
|
|
||||||
{
|
|
||||||
dataGridView1.DataSource = list;
|
|
||||||
dataGridView1.Columns["Id"].Visible = false;
|
|
||||||
dataGridView1.Columns["MemberFCs"].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void buttonAdd_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
var service = Program.ServiceProvider?.GetService(typeof(FormMember));
|
|
||||||
if (service is FormMember form)
|
|
||||||
{
|
|
||||||
if (form.ShowDialog() == DialogResult.OK)
|
|
||||||
{
|
|
||||||
LoadData();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void buttonUpd_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
if (dataGridView1.SelectedRows.Count == 1)
|
|
||||||
{
|
|
||||||
var service = Program.ServiceProvider?.GetService(typeof(FormMember));
|
|
||||||
if (service is FormMember form)
|
|
||||||
{
|
|
||||||
form.Id = Convert.ToInt32(dataGridView1.SelectedRows[0].Cells["Id"].Value);
|
|
||||||
if (form.ShowDialog() == DialogResult.OK)
|
|
||||||
{
|
|
||||||
LoadData();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void buttonDel_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
if (dataGridView1.SelectedRows.Count == 1)
|
|
||||||
{
|
|
||||||
if (MessageBox.Show("Удалить запись?", "Вопрос", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
|
||||||
{
|
|
||||||
int id = Convert.ToInt32(dataGridView1.SelectedRows[0].Cells["Id"].Value);
|
|
||||||
try
|
|
||||||
{
|
|
||||||
if (!_logic.Delete(new MemberBindingModel { Id = id }))
|
|
||||||
{
|
|
||||||
throw new Exception("Ошибка при удалении. Доп информация в логах");
|
|
||||||
}
|
|
||||||
LoadData();
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,120 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<root>
|
|
||||||
<!--
|
|
||||||
Microsoft ResX Schema
|
|
||||||
|
|
||||||
Version 2.0
|
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
|
||||||
that is mostly human readable. The generation and parsing of the
|
|
||||||
various data types are done through the TypeConverter classes
|
|
||||||
associated with the data types.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
|
||||||
<resheader name="version">2.0</resheader>
|
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
|
||||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
|
||||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
|
||||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
|
||||||
</data>
|
|
||||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
|
||||||
<comment>This is a comment</comment>
|
|
||||||
</data>
|
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
|
||||||
name/value pairs.
|
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
|
||||||
text/value conversion through the TypeConverter architecture.
|
|
||||||
Classes that don't support this are serialized and stored with the
|
|
||||||
mimetype set.
|
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
|
||||||
read any of the formats listed below.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
|
||||||
value : The object must be serialized into a byte array
|
|
||||||
: using a System.ComponentModel.TypeConverter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
-->
|
|
||||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
|
||||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:choice maxOccurs="unbounded">
|
|
||||||
<xsd:element name="metadata">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="assembly">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:attribute name="alias" type="xsd:string" />
|
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="data">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="resheader">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:choice>
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:schema>
|
|
||||||
<resheader name="resmimetype">
|
|
||||||
<value>text/microsoft-resx</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="version">
|
|
||||||
<value>2.0</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="reader">
|
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="writer">
|
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
</root>
|
|
185
SportCompetitionsView/FormRecord.Designer.cs
generated
185
SportCompetitionsView/FormRecord.Designer.cs
generated
@ -1,185 +0,0 @@
|
|||||||
namespace SportCompetitionsView
|
|
||||||
{
|
|
||||||
partial class FormRecord
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Required designer variable.
|
|
||||||
/// </summary>
|
|
||||||
private System.ComponentModel.IContainer components = null;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Clean up any resources being used.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
||||||
protected override void Dispose(bool disposing)
|
|
||||||
{
|
|
||||||
if (disposing && (components != null))
|
|
||||||
{
|
|
||||||
components.Dispose();
|
|
||||||
}
|
|
||||||
base.Dispose(disposing);
|
|
||||||
}
|
|
||||||
|
|
||||||
#region Windows Form Designer generated code
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Required method for Designer support - do not modify
|
|
||||||
/// the contents of this method with the code editor.
|
|
||||||
/// </summary>
|
|
||||||
private void InitializeComponent()
|
|
||||||
{
|
|
||||||
textBox2 = new TextBox();
|
|
||||||
label1 = new Label();
|
|
||||||
textBox1 = new TextBox();
|
|
||||||
label2 = new Label();
|
|
||||||
label4 = new Label();
|
|
||||||
comboBoxMember = new ComboBox();
|
|
||||||
dateTimePicker1 = new DateTimePicker();
|
|
||||||
textBox3 = new TextBox();
|
|
||||||
label3 = new Label();
|
|
||||||
label5 = new Label();
|
|
||||||
buttonCanc = new Button();
|
|
||||||
button1 = new Button();
|
|
||||||
SuspendLayout();
|
|
||||||
//
|
|
||||||
// textBox2
|
|
||||||
//
|
|
||||||
textBox2.Location = new Point(123, 24);
|
|
||||||
textBox2.Name = "textBox2";
|
|
||||||
textBox2.Size = new Size(200, 23);
|
|
||||||
textBox2.TabIndex = 3;
|
|
||||||
//
|
|
||||||
// label1
|
|
||||||
//
|
|
||||||
label1.AutoSize = true;
|
|
||||||
label1.Location = new Point(27, 27);
|
|
||||||
label1.Name = "label1";
|
|
||||||
label1.Size = new Size(59, 15);
|
|
||||||
label1.TabIndex = 2;
|
|
||||||
label1.Text = "Название";
|
|
||||||
//
|
|
||||||
// textBox1
|
|
||||||
//
|
|
||||||
textBox1.Location = new Point(123, 68);
|
|
||||||
textBox1.Name = "textBox1";
|
|
||||||
textBox1.Size = new Size(200, 23);
|
|
||||||
textBox1.TabIndex = 5;
|
|
||||||
//
|
|
||||||
// label2
|
|
||||||
//
|
|
||||||
label2.AutoSize = true;
|
|
||||||
label2.Location = new Point(27, 71);
|
|
||||||
label2.Name = "label2";
|
|
||||||
label2.Size = new Size(62, 15);
|
|
||||||
label2.TabIndex = 4;
|
|
||||||
label2.Text = "Описание";
|
|
||||||
//
|
|
||||||
// label4
|
|
||||||
//
|
|
||||||
label4.AutoSize = true;
|
|
||||||
label4.Location = new Point(27, 117);
|
|
||||||
label4.Name = "label4";
|
|
||||||
label4.Size = new Size(58, 15);
|
|
||||||
label4.TabIndex = 9;
|
|
||||||
label4.Text = "Участник";
|
|
||||||
//
|
|
||||||
// comboBoxMember
|
|
||||||
//
|
|
||||||
comboBoxMember.FormattingEnabled = true;
|
|
||||||
comboBoxMember.Location = new Point(123, 114);
|
|
||||||
comboBoxMember.Name = "comboBoxMember";
|
|
||||||
comboBoxMember.Size = new Size(200, 23);
|
|
||||||
comboBoxMember.TabIndex = 8;
|
|
||||||
//
|
|
||||||
// dateTimePicker1
|
|
||||||
//
|
|
||||||
dateTimePicker1.Location = new Point(123, 153);
|
|
||||||
dateTimePicker1.Name = "dateTimePicker1";
|
|
||||||
dateTimePicker1.Size = new Size(200, 23);
|
|
||||||
dateTimePicker1.TabIndex = 13;
|
|
||||||
//
|
|
||||||
// textBox3
|
|
||||||
//
|
|
||||||
textBox3.Location = new Point(123, 196);
|
|
||||||
textBox3.Name = "textBox3";
|
|
||||||
textBox3.Size = new Size(200, 23);
|
|
||||||
textBox3.TabIndex = 12;
|
|
||||||
//
|
|
||||||
// label3
|
|
||||||
//
|
|
||||||
label3.AutoSize = true;
|
|
||||||
label3.Location = new Point(27, 199);
|
|
||||||
label3.Name = "label3";
|
|
||||||
label3.Size = new Size(60, 15);
|
|
||||||
label3.TabIndex = 11;
|
|
||||||
label3.Text = "Значение";
|
|
||||||
//
|
|
||||||
// label5
|
|
||||||
//
|
|
||||||
label5.AutoSize = true;
|
|
||||||
label5.Location = new Point(6, 159);
|
|
||||||
label5.Name = "label5";
|
|
||||||
label5.Size = new Size(111, 15);
|
|
||||||
label5.TabIndex = 10;
|
|
||||||
label5.Text = "Дата установления";
|
|
||||||
//
|
|
||||||
// buttonCanc
|
|
||||||
//
|
|
||||||
buttonCanc.Location = new Point(229, 236);
|
|
||||||
buttonCanc.Name = "buttonCanc";
|
|
||||||
buttonCanc.Size = new Size(94, 40);
|
|
||||||
buttonCanc.TabIndex = 15;
|
|
||||||
buttonCanc.Text = "Отмена";
|
|
||||||
buttonCanc.UseVisualStyleBackColor = true;
|
|
||||||
buttonCanc.Click += buttonCancel_Click;
|
|
||||||
//
|
|
||||||
// button1
|
|
||||||
//
|
|
||||||
button1.Location = new Point(123, 236);
|
|
||||||
button1.Name = "button1";
|
|
||||||
button1.Size = new Size(100, 40);
|
|
||||||
button1.TabIndex = 14;
|
|
||||||
button1.Text = "Сохранить";
|
|
||||||
button1.UseVisualStyleBackColor = true;
|
|
||||||
button1.Click += buttonSave_Click;
|
|
||||||
//
|
|
||||||
// FormRecord
|
|
||||||
//
|
|
||||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
|
||||||
ClientSize = new Size(355, 310);
|
|
||||||
Controls.Add(buttonCanc);
|
|
||||||
Controls.Add(button1);
|
|
||||||
Controls.Add(dateTimePicker1);
|
|
||||||
Controls.Add(textBox3);
|
|
||||||
Controls.Add(label3);
|
|
||||||
Controls.Add(label5);
|
|
||||||
Controls.Add(label4);
|
|
||||||
Controls.Add(comboBoxMember);
|
|
||||||
Controls.Add(textBox1);
|
|
||||||
Controls.Add(label2);
|
|
||||||
Controls.Add(textBox2);
|
|
||||||
Controls.Add(label1);
|
|
||||||
Name = "FormRecord";
|
|
||||||
Text = "Рекорд";
|
|
||||||
Load += FormRecord_Load;
|
|
||||||
ResumeLayout(false);
|
|
||||||
PerformLayout();
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
private TextBox textBox2;
|
|
||||||
private Label label1;
|
|
||||||
private TextBox textBox1;
|
|
||||||
private Label label2;
|
|
||||||
private Label label4;
|
|
||||||
private ComboBox comboBoxMember;
|
|
||||||
private DateTimePicker dateTimePicker1;
|
|
||||||
private TextBox textBox3;
|
|
||||||
private Label label3;
|
|
||||||
private Label label5;
|
|
||||||
private Button buttonCanc;
|
|
||||||
private Button button1;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,75 +0,0 @@
|
|||||||
using SportCompetitionsContracts.BindingModels;
|
|
||||||
using SportCompetitionsContracts.BusinessLogicsContracts;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
|
|
||||||
namespace SportCompetitionsView
|
|
||||||
{
|
|
||||||
public partial class FormRecord : Form
|
|
||||||
{
|
|
||||||
private readonly IRecordLogic _recordLogic;
|
|
||||||
private readonly IMemberLogic _memberLogic;
|
|
||||||
private int? _id;
|
|
||||||
public int Id { set { _id = value; } }
|
|
||||||
public FormRecord(IMemberLogic memberLogic, IRecordLogic recordLogic)
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
_memberLogic = memberLogic;
|
|
||||||
_recordLogic = recordLogic;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void FormRecord_Load(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
var _listP = _memberLogic.ReadList(null);
|
|
||||||
if (_listP != null)
|
|
||||||
{
|
|
||||||
comboBoxMember.DisplayMember = "MemberFCs";
|
|
||||||
comboBoxMember.ValueMember = "Id";
|
|
||||||
comboBoxMember.DataSource = _listP;
|
|
||||||
comboBoxMember.SelectedItem = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void buttonSave_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
var model = new RecordBindingModel
|
|
||||||
{
|
|
||||||
Id = _id ?? 0,
|
|
||||||
RecordName = textBox2.Text,
|
|
||||||
RecordDate = dateTimePicker1.Value,
|
|
||||||
RecordDecriptiption = textBox1.Text,
|
|
||||||
MemberId = comboBoxMember.SelectedIndex,
|
|
||||||
RecordValue = Convert.ToInt32(textBox3.Text),
|
|
||||||
};
|
|
||||||
var operationResult = _id.HasValue ? _recordLogic.Update(model) : _recordLogic.Create(model);
|
|
||||||
if (!operationResult)
|
|
||||||
{
|
|
||||||
throw new Exception("Ошибка при сохранении. Доп информация в логах");
|
|
||||||
}
|
|
||||||
MessageBox.Show("Сохранение прошло успешно", "Сообщение", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
||||||
DialogResult = DialogResult.OK;
|
|
||||||
Close();
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
private void buttonCancel_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
DialogResult = DialogResult.Cancel;
|
|
||||||
Close();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,120 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<root>
|
|
||||||
<!--
|
|
||||||
Microsoft ResX Schema
|
|
||||||
|
|
||||||
Version 2.0
|
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
|
||||||
that is mostly human readable. The generation and parsing of the
|
|
||||||
various data types are done through the TypeConverter classes
|
|
||||||
associated with the data types.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
|
||||||
<resheader name="version">2.0</resheader>
|
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
|
||||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
|
||||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
|
||||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
|
||||||
</data>
|
|
||||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
|
||||||
<comment>This is a comment</comment>
|
|
||||||
</data>
|
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
|
||||||
name/value pairs.
|
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
|
||||||
text/value conversion through the TypeConverter architecture.
|
|
||||||
Classes that don't support this are serialized and stored with the
|
|
||||||
mimetype set.
|
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
|
||||||
read any of the formats listed below.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
|
||||||
value : The object must be serialized into a byte array
|
|
||||||
: using a System.ComponentModel.TypeConverter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
-->
|
|
||||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
|
||||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:choice maxOccurs="unbounded">
|
|
||||||
<xsd:element name="metadata">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="assembly">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:attribute name="alias" type="xsd:string" />
|
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="data">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="resheader">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:choice>
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:schema>
|
|
||||||
<resheader name="resmimetype">
|
|
||||||
<value>text/microsoft-resx</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="version">
|
|
||||||
<value>2.0</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="reader">
|
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="writer">
|
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
</root>
|
|
100
SportCompetitionsView/FormRecords.Designer.cs
generated
100
SportCompetitionsView/FormRecords.Designer.cs
generated
@ -1,100 +0,0 @@
|
|||||||
namespace SportCompetitionsView
|
|
||||||
{
|
|
||||||
partial class FormRecords
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Required designer variable.
|
|
||||||
/// </summary>
|
|
||||||
private System.ComponentModel.IContainer components = null;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Clean up any resources being used.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
||||||
protected override void Dispose(bool disposing)
|
|
||||||
{
|
|
||||||
if (disposing && (components != null))
|
|
||||||
{
|
|
||||||
components.Dispose();
|
|
||||||
}
|
|
||||||
base.Dispose(disposing);
|
|
||||||
}
|
|
||||||
|
|
||||||
#region Windows Form Designer generated code
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Required method for Designer support - do not modify
|
|
||||||
/// the contents of this method with the code editor.
|
|
||||||
/// </summary>
|
|
||||||
private void InitializeComponent()
|
|
||||||
{
|
|
||||||
buttonDel = new Button();
|
|
||||||
buttonEdit = new Button();
|
|
||||||
buttonAdd = new Button();
|
|
||||||
dataGridView1 = new DataGridView();
|
|
||||||
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
|
||||||
SuspendLayout();
|
|
||||||
//
|
|
||||||
// buttonDel
|
|
||||||
//
|
|
||||||
buttonDel.Location = new Point(727, 146);
|
|
||||||
buttonDel.Name = "buttonDel";
|
|
||||||
buttonDel.Size = new Size(128, 42);
|
|
||||||
buttonDel.TabIndex = 10;
|
|
||||||
buttonDel.Text = "Удалить";
|
|
||||||
buttonDel.UseVisualStyleBackColor = true;
|
|
||||||
buttonDel.Click += buttonDel_Click;
|
|
||||||
//
|
|
||||||
// buttonEdit
|
|
||||||
//
|
|
||||||
buttonEdit.Location = new Point(727, 83);
|
|
||||||
buttonEdit.Name = "buttonEdit";
|
|
||||||
buttonEdit.Size = new Size(128, 44);
|
|
||||||
buttonEdit.TabIndex = 9;
|
|
||||||
buttonEdit.Text = "Изменить";
|
|
||||||
buttonEdit.UseVisualStyleBackColor = true;
|
|
||||||
buttonEdit.Click += buttonUpd_Click;
|
|
||||||
//
|
|
||||||
// buttonAdd
|
|
||||||
//
|
|
||||||
buttonAdd.Location = new Point(727, 21);
|
|
||||||
buttonAdd.Name = "buttonAdd";
|
|
||||||
buttonAdd.Size = new Size(128, 43);
|
|
||||||
buttonAdd.TabIndex = 8;
|
|
||||||
buttonAdd.Text = "Добавить";
|
|
||||||
buttonAdd.UseVisualStyleBackColor = true;
|
|
||||||
buttonAdd.Click += buttonAdd_Click;
|
|
||||||
//
|
|
||||||
// dataGridView1
|
|
||||||
//
|
|
||||||
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
||||||
dataGridView1.Location = new Point(21, 21);
|
|
||||||
dataGridView1.Name = "dataGridView1";
|
|
||||||
dataGridView1.RowTemplate.Height = 25;
|
|
||||||
dataGridView1.Size = new Size(655, 408);
|
|
||||||
dataGridView1.TabIndex = 7;
|
|
||||||
//
|
|
||||||
// FormRecords
|
|
||||||
//
|
|
||||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
|
||||||
ClientSize = new Size(915, 450);
|
|
||||||
Controls.Add(buttonDel);
|
|
||||||
Controls.Add(buttonEdit);
|
|
||||||
Controls.Add(buttonAdd);
|
|
||||||
Controls.Add(dataGridView1);
|
|
||||||
Name = "FormRecords";
|
|
||||||
Text = "Рекорды";
|
|
||||||
Load += FormRecords_Load;
|
|
||||||
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
|
||||||
ResumeLayout(false);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
private Button buttonDel;
|
|
||||||
private Button buttonEdit;
|
|
||||||
private Button buttonAdd;
|
|
||||||
private DataGridView dataGridView1;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,100 +0,0 @@
|
|||||||
using SportCompetitionsContracts.BindingModels;
|
|
||||||
using SportCompetitionsContracts.BusinessLogicsContracts;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
|
|
||||||
namespace SportCompetitionsView
|
|
||||||
{
|
|
||||||
public partial class FormRecords : Form
|
|
||||||
{
|
|
||||||
private readonly IRecordLogic _logic;
|
|
||||||
|
|
||||||
public FormRecords(IRecordLogic logic)
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
_logic = logic;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void FormRecords_Load(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
LoadData();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void LoadData()
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
var list = _logic.ReadList(null);
|
|
||||||
if (list != null)
|
|
||||||
{
|
|
||||||
dataGridView1.DataSource = list;
|
|
||||||
dataGridView1.Columns["Id"].Visible = false;
|
|
||||||
dataGridView1.Columns["RecordDecriptiption"].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void buttonAdd_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
var service = Program.ServiceProvider?.GetService(typeof(FormRecord));
|
|
||||||
if (service is FormRecord form)
|
|
||||||
{
|
|
||||||
if (form.ShowDialog() == DialogResult.OK)
|
|
||||||
{
|
|
||||||
LoadData();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void buttonUpd_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
if (dataGridView1.SelectedRows.Count == 1)
|
|
||||||
{
|
|
||||||
var service = Program.ServiceProvider?.GetService(typeof(FormRecord));
|
|
||||||
if (service is FormRecord form)
|
|
||||||
{
|
|
||||||
form.Id = Convert.ToInt32(dataGridView1.SelectedRows[0].Cells["Id"].Value);
|
|
||||||
if (form.ShowDialog() == DialogResult.OK)
|
|
||||||
{
|
|
||||||
LoadData();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void buttonDel_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
if (dataGridView1.SelectedRows.Count == 1)
|
|
||||||
{
|
|
||||||
if (MessageBox.Show("Удалить запись?", "Вопрос", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
|
||||||
{
|
|
||||||
int id = Convert.ToInt32(dataGridView1.SelectedRows[0].Cells["Id"].Value);
|
|
||||||
try
|
|
||||||
{
|
|
||||||
if (!_logic.Delete(new RecordBindingModel { Id = id }))
|
|
||||||
{
|
|
||||||
throw new Exception("Ошибка при удалении. Доп информация в логах");
|
|
||||||
}
|
|
||||||
LoadData();
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,120 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<root>
|
|
||||||
<!--
|
|
||||||
Microsoft ResX Schema
|
|
||||||
|
|
||||||
Version 2.0
|
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
|
||||||
that is mostly human readable. The generation and parsing of the
|
|
||||||
various data types are done through the TypeConverter classes
|
|
||||||
associated with the data types.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
|
||||||
<resheader name="version">2.0</resheader>
|
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
|
||||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
|
||||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
|
||||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
|
||||||
</data>
|
|
||||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
|
||||||
<comment>This is a comment</comment>
|
|
||||||
</data>
|
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
|
||||||
name/value pairs.
|
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
|
||||||
text/value conversion through the TypeConverter architecture.
|
|
||||||
Classes that don't support this are serialized and stored with the
|
|
||||||
mimetype set.
|
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
|
||||||
read any of the formats listed below.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
|
||||||
value : The object must be serialized into a byte array
|
|
||||||
: using a System.ComponentModel.TypeConverter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
-->
|
|
||||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
|
||||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:choice maxOccurs="unbounded">
|
|
||||||
<xsd:element name="metadata">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="assembly">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:attribute name="alias" type="xsd:string" />
|
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="data">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="resheader">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:choice>
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:schema>
|
|
||||||
<resheader name="resmimetype">
|
|
||||||
<value>text/microsoft-resx</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="version">
|
|
||||||
<value>2.0</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="reader">
|
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="writer">
|
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
</root>
|
|
165
SportCompetitionsView/FormResult.Designer.cs
generated
165
SportCompetitionsView/FormResult.Designer.cs
generated
@ -1,165 +0,0 @@
|
|||||||
namespace SportCompetitionsView
|
|
||||||
{
|
|
||||||
partial class FormResult
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Required designer variable.
|
|
||||||
/// </summary>
|
|
||||||
private System.ComponentModel.IContainer components = null;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Clean up any resources being used.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
||||||
protected override void Dispose(bool disposing)
|
|
||||||
{
|
|
||||||
if (disposing && (components != null))
|
|
||||||
{
|
|
||||||
components.Dispose();
|
|
||||||
}
|
|
||||||
base.Dispose(disposing);
|
|
||||||
}
|
|
||||||
|
|
||||||
#region Windows Form Designer generated code
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Required method for Designer support - do not modify
|
|
||||||
/// the contents of this method with the code editor.
|
|
||||||
/// </summary>
|
|
||||||
private void InitializeComponent()
|
|
||||||
{
|
|
||||||
buttonCanc = new Button();
|
|
||||||
button1 = new Button();
|
|
||||||
textBox = new TextBox();
|
|
||||||
label3 = new Label();
|
|
||||||
label4 = new Label();
|
|
||||||
comboBox2 = new ComboBox();
|
|
||||||
textBox1 = new TextBox();
|
|
||||||
label1 = new Label();
|
|
||||||
label2 = new Label();
|
|
||||||
comboBox1 = new ComboBox();
|
|
||||||
SuspendLayout();
|
|
||||||
//
|
|
||||||
// buttonCanc
|
|
||||||
//
|
|
||||||
buttonCanc.Location = new Point(238, 198);
|
|
||||||
buttonCanc.Name = "buttonCanc";
|
|
||||||
buttonCanc.Size = new Size(94, 40);
|
|
||||||
buttonCanc.TabIndex = 27;
|
|
||||||
buttonCanc.Text = "Отмена";
|
|
||||||
buttonCanc.UseVisualStyleBackColor = true;
|
|
||||||
buttonCanc.Click += buttonCancel_Click;
|
|
||||||
//
|
|
||||||
// button1
|
|
||||||
//
|
|
||||||
button1.Location = new Point(132, 198);
|
|
||||||
button1.Name = "button1";
|
|
||||||
button1.Size = new Size(100, 40);
|
|
||||||
button1.TabIndex = 26;
|
|
||||||
button1.Text = "Сохранить";
|
|
||||||
button1.UseVisualStyleBackColor = true;
|
|
||||||
button1.Click += buttonSave_Click;
|
|
||||||
//
|
|
||||||
// textBox
|
|
||||||
//
|
|
||||||
textBox.Location = new Point(132, 158);
|
|
||||||
textBox.Name = "textBox";
|
|
||||||
textBox.Size = new Size(200, 23);
|
|
||||||
textBox.TabIndex = 24;
|
|
||||||
//
|
|
||||||
// label3
|
|
||||||
//
|
|
||||||
label3.AutoSize = true;
|
|
||||||
label3.Location = new Point(36, 161);
|
|
||||||
label3.Name = "label3";
|
|
||||||
label3.Size = new Size(60, 15);
|
|
||||||
label3.TabIndex = 23;
|
|
||||||
label3.Text = "Значение";
|
|
||||||
//
|
|
||||||
// label4
|
|
||||||
//
|
|
||||||
label4.AutoSize = true;
|
|
||||||
label4.Location = new Point(36, 119);
|
|
||||||
label4.Name = "label4";
|
|
||||||
label4.Size = new Size(55, 15);
|
|
||||||
label4.TabIndex = 21;
|
|
||||||
label4.Text = "Команда";
|
|
||||||
//
|
|
||||||
// comboBox2
|
|
||||||
//
|
|
||||||
comboBox2.FormattingEnabled = true;
|
|
||||||
comboBox2.Location = new Point(132, 116);
|
|
||||||
comboBox2.Name = "comboBox2";
|
|
||||||
comboBox2.Size = new Size(200, 23);
|
|
||||||
comboBox2.TabIndex = 20;
|
|
||||||
//
|
|
||||||
// textBox1
|
|
||||||
//
|
|
||||||
textBox1.Location = new Point(132, 26);
|
|
||||||
textBox1.Name = "textBox1";
|
|
||||||
textBox1.Size = new Size(200, 23);
|
|
||||||
textBox1.TabIndex = 17;
|
|
||||||
//
|
|
||||||
// label1
|
|
||||||
//
|
|
||||||
label1.AutoSize = true;
|
|
||||||
label1.Location = new Point(36, 29);
|
|
||||||
label1.Name = "label1";
|
|
||||||
label1.Size = new Size(62, 15);
|
|
||||||
label1.TabIndex = 16;
|
|
||||||
label1.Text = "Описание";
|
|
||||||
//
|
|
||||||
// label2
|
|
||||||
//
|
|
||||||
label2.AutoSize = true;
|
|
||||||
label2.Location = new Point(36, 75);
|
|
||||||
label2.Name = "label2";
|
|
||||||
label2.Size = new Size(87, 15);
|
|
||||||
label2.TabIndex = 29;
|
|
||||||
label2.Text = "Соревнование";
|
|
||||||
//
|
|
||||||
// comboBox1
|
|
||||||
//
|
|
||||||
comboBox1.FormattingEnabled = true;
|
|
||||||
comboBox1.Location = new Point(132, 72);
|
|
||||||
comboBox1.Name = "comboBox1";
|
|
||||||
comboBox1.Size = new Size(200, 23);
|
|
||||||
comboBox1.TabIndex = 28;
|
|
||||||
//
|
|
||||||
// FormResult
|
|
||||||
//
|
|
||||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
|
||||||
ClientSize = new Size(395, 261);
|
|
||||||
Controls.Add(label2);
|
|
||||||
Controls.Add(comboBox1);
|
|
||||||
Controls.Add(buttonCanc);
|
|
||||||
Controls.Add(button1);
|
|
||||||
Controls.Add(textBox);
|
|
||||||
Controls.Add(label3);
|
|
||||||
Controls.Add(label4);
|
|
||||||
Controls.Add(comboBox2);
|
|
||||||
Controls.Add(textBox1);
|
|
||||||
Controls.Add(label1);
|
|
||||||
Name = "FormResult";
|
|
||||||
Text = "Результат";
|
|
||||||
Load += FormResult_Load;
|
|
||||||
Click += FormResult_Load;
|
|
||||||
ResumeLayout(false);
|
|
||||||
PerformLayout();
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
private Button buttonCanc;
|
|
||||||
private Button button1;
|
|
||||||
private TextBox textBox;
|
|
||||||
private Label label3;
|
|
||||||
private Label label4;
|
|
||||||
private ComboBox comboBox2;
|
|
||||||
private TextBox textBox1;
|
|
||||||
private Label label1;
|
|
||||||
private Label label2;
|
|
||||||
private ComboBox comboBox1;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,85 +0,0 @@
|
|||||||
using SportCompetitionsContracts.BindingModels;
|
|
||||||
using SportCompetitionsContracts.BusinessLogicsContracts;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
using static System.Windows.Forms.VisualStyles.VisualStyleElement;
|
|
||||||
|
|
||||||
namespace SportCompetitionsView
|
|
||||||
{
|
|
||||||
public partial class FormResult : Form
|
|
||||||
{
|
|
||||||
private readonly ICompetitionLogic _logicC;
|
|
||||||
private readonly ITeamLogic _teamLogic;
|
|
||||||
private readonly IResultLogic _resultLogic;
|
|
||||||
private int? _id;
|
|
||||||
public int Id { set { _id = value; } }
|
|
||||||
public FormResult(ICompetitionLogic _logicC2, ITeamLogic _teamLogic2, IResultLogic _resultLogic2)
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
_logicC = _logicC2;
|
|
||||||
_teamLogic = _teamLogic2;
|
|
||||||
_resultLogic = _resultLogic2;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void FormResult_Load(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
var _listP = _logicC.ReadList(null);
|
|
||||||
if (_listP != null)
|
|
||||||
{
|
|
||||||
comboBox1.DisplayMember = "CompetitionName";
|
|
||||||
comboBox1.ValueMember = "Id";
|
|
||||||
comboBox1.DataSource = _listP;
|
|
||||||
comboBox1.SelectedItem = null;
|
|
||||||
}
|
|
||||||
var _listP2 = _teamLogic.ReadList(null);
|
|
||||||
if (_listP2 != null)
|
|
||||||
{
|
|
||||||
comboBox2.DisplayMember = "TeamName";
|
|
||||||
comboBox2.ValueMember = "Id";
|
|
||||||
comboBox2.DataSource = _listP2;
|
|
||||||
comboBox2.SelectedItem = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void buttonSave_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
var model = new ResultBindingModel
|
|
||||||
{
|
|
||||||
Id = _id ?? 0,
|
|
||||||
CompetitionId = comboBox1.SelectedIndex,
|
|
||||||
TeamId = comboBox2.SelectedIndex,
|
|
||||||
ResultName = textBox1.Text,
|
|
||||||
ResultPosition = Convert.ToInt32(textBox.Text),
|
|
||||||
};
|
|
||||||
var operationResult = _id.HasValue ? _resultLogic.Update(model) : _resultLogic.Create(model);
|
|
||||||
if (!operationResult)
|
|
||||||
{
|
|
||||||
throw new Exception("Ошибка при сохранении. Доп информация в логах");
|
|
||||||
}
|
|
||||||
MessageBox.Show("Сохранение прошло успешно", "Сообщение", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
||||||
DialogResult = DialogResult.OK;
|
|
||||||
Close();
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
private void buttonCancel_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
DialogResult = DialogResult.Cancel;
|
|
||||||
Close();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,120 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<root>
|
|
||||||
<!--
|
|
||||||
Microsoft ResX Schema
|
|
||||||
|
|
||||||
Version 2.0
|
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
|
||||||
that is mostly human readable. The generation and parsing of the
|
|
||||||
various data types are done through the TypeConverter classes
|
|
||||||
associated with the data types.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
|
||||||
<resheader name="version">2.0</resheader>
|
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
|
||||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
|
||||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
|
||||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
|
||||||
</data>
|
|
||||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
|
||||||
<comment>This is a comment</comment>
|
|
||||||
</data>
|
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
|
||||||
name/value pairs.
|
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
|
||||||
text/value conversion through the TypeConverter architecture.
|
|
||||||
Classes that don't support this are serialized and stored with the
|
|
||||||
mimetype set.
|
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
|
||||||
read any of the formats listed below.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
|
||||||
value : The object must be serialized into a byte array
|
|
||||||
: using a System.ComponentModel.TypeConverter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
-->
|
|
||||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
|
||||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:choice maxOccurs="unbounded">
|
|
||||||
<xsd:element name="metadata">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="assembly">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:attribute name="alias" type="xsd:string" />
|
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="data">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="resheader">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:choice>
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:schema>
|
|
||||||
<resheader name="resmimetype">
|
|
||||||
<value>text/microsoft-resx</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="version">
|
|
||||||
<value>2.0</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="reader">
|
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="writer">
|
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
</root>
|
|
100
SportCompetitionsView/FormResults.Designer.cs
generated
100
SportCompetitionsView/FormResults.Designer.cs
generated
@ -1,100 +0,0 @@
|
|||||||
namespace SportCompetitionsView
|
|
||||||
{
|
|
||||||
partial class FormResults
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Required designer variable.
|
|
||||||
/// </summary>
|
|
||||||
private System.ComponentModel.IContainer components = null;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Clean up any resources being used.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
||||||
protected override void Dispose(bool disposing)
|
|
||||||
{
|
|
||||||
if (disposing && (components != null))
|
|
||||||
{
|
|
||||||
components.Dispose();
|
|
||||||
}
|
|
||||||
base.Dispose(disposing);
|
|
||||||
}
|
|
||||||
|
|
||||||
#region Windows Form Designer generated code
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Required method for Designer support - do not modify
|
|
||||||
/// the contents of this method with the code editor.
|
|
||||||
/// </summary>
|
|
||||||
private void InitializeComponent()
|
|
||||||
{
|
|
||||||
buttonDel = new Button();
|
|
||||||
buttonEdit = new Button();
|
|
||||||
buttonAdd = new Button();
|
|
||||||
dataGridView1 = new DataGridView();
|
|
||||||
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
|
||||||
SuspendLayout();
|
|
||||||
//
|
|
||||||
// buttonDel
|
|
||||||
//
|
|
||||||
buttonDel.Location = new Point(773, 137);
|
|
||||||
buttonDel.Name = "buttonDel";
|
|
||||||
buttonDel.Size = new Size(128, 42);
|
|
||||||
buttonDel.TabIndex = 14;
|
|
||||||
buttonDel.Text = "Удалить";
|
|
||||||
buttonDel.UseVisualStyleBackColor = true;
|
|
||||||
buttonDel.Click += buttonDel_Click;
|
|
||||||
//
|
|
||||||
// buttonEdit
|
|
||||||
//
|
|
||||||
buttonEdit.Location = new Point(773, 74);
|
|
||||||
buttonEdit.Name = "buttonEdit";
|
|
||||||
buttonEdit.Size = new Size(128, 44);
|
|
||||||
buttonEdit.TabIndex = 13;
|
|
||||||
buttonEdit.Text = "Изменить";
|
|
||||||
buttonEdit.UseVisualStyleBackColor = true;
|
|
||||||
buttonEdit.Click += buttonUpd_Click;
|
|
||||||
//
|
|
||||||
// buttonAdd
|
|
||||||
//
|
|
||||||
buttonAdd.Location = new Point(773, 12);
|
|
||||||
buttonAdd.Name = "buttonAdd";
|
|
||||||
buttonAdd.Size = new Size(128, 43);
|
|
||||||
buttonAdd.TabIndex = 12;
|
|
||||||
buttonAdd.Text = "Добавить";
|
|
||||||
buttonAdd.UseVisualStyleBackColor = true;
|
|
||||||
buttonAdd.Click += buttonAdd_Click;
|
|
||||||
//
|
|
||||||
// dataGridView1
|
|
||||||
//
|
|
||||||
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
||||||
dataGridView1.Location = new Point(22, 12);
|
|
||||||
dataGridView1.Name = "dataGridView1";
|
|
||||||
dataGridView1.RowTemplate.Height = 25;
|
|
||||||
dataGridView1.Size = new Size(702, 408);
|
|
||||||
dataGridView1.TabIndex = 11;
|
|
||||||
//
|
|
||||||
// FormResults
|
|
||||||
//
|
|
||||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
|
||||||
ClientSize = new Size(961, 450);
|
|
||||||
Controls.Add(buttonDel);
|
|
||||||
Controls.Add(buttonEdit);
|
|
||||||
Controls.Add(buttonAdd);
|
|
||||||
Controls.Add(dataGridView1);
|
|
||||||
Name = "FormResults";
|
|
||||||
Text = "Результаты";
|
|
||||||
Load += FormResults_Load;
|
|
||||||
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
|
||||||
ResumeLayout(false);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
private Button buttonDel;
|
|
||||||
private Button buttonEdit;
|
|
||||||
private Button buttonAdd;
|
|
||||||
private DataGridView dataGridView1;
|
|
||||||
}
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user