Лабораторная работа №3

This commit is contained in:
dvdice 2024-10-07 22:08:55 +04:00
parent 2f15e73408
commit 113919a6ac
12 changed files with 184 additions and 118 deletions

View File

@ -12,8 +12,13 @@ EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SoftwareInstallationBusinessLogic", "SoftwareInstallationBusinessLogic\SoftwareInstallationBusinessLogic.csproj", "{AB30EAF3-FD89-4B1E-B826-0217877DD5FC}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SoftwareInstallationBusinessLogic", "SoftwareInstallationBusinessLogic\SoftwareInstallationBusinessLogic.csproj", "{AB30EAF3-FD89-4B1E-B826-0217877DD5FC}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SoftwareInstallationView", "SoftwareInstallationView\SoftwareInstallationView.csproj", "{EB5E1375-60CA-40CD-9AD6-9C7B1D3C4458}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SoftwareInstallationView", "SoftwareInstallationView\SoftwareInstallationView.csproj", "{EB5E1375-60CA-40CD-9AD6-9C7B1D3C4458}"
ProjectSection(ProjectDependencies) = postProject
{DB624074-9CF3-48D9-88B4-8C8211683287} = {DB624074-9CF3-48D9-88B4-8C8211683287}
EndProjectSection
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SoftwareInstallationFileImplement", "SoftwareInstallationFileImplement\SoftwareInstallationFileImplement.csproj", "{62577A1E-CE13-4232-90B4-B615A9A77DB0}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SoftwareInstallationFileImplement", "SoftwareInstallationFileImplement\SoftwareInstallationFileImplement.csproj", "{62577A1E-CE13-4232-90B4-B615A9A77DB0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SoftwareInstallationDatabaseImplement", "SoftwareInstallationDatabaseImplement\SoftwareInstallationDatabaseImplement.csproj", "{DB624074-9CF3-48D9-88B4-8C8211683287}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -45,6 +50,10 @@ Global
{62577A1E-CE13-4232-90B4-B615A9A77DB0}.Debug|Any CPU.Build.0 = Debug|Any CPU {62577A1E-CE13-4232-90B4-B615A9A77DB0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{62577A1E-CE13-4232-90B4-B615A9A77DB0}.Release|Any CPU.ActiveCfg = Release|Any CPU {62577A1E-CE13-4232-90B4-B615A9A77DB0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{62577A1E-CE13-4232-90B4-B615A9A77DB0}.Release|Any CPU.Build.0 = Release|Any CPU {62577A1E-CE13-4232-90B4-B615A9A77DB0}.Release|Any CPU.Build.0 = Release|Any CPU
{DB624074-9CF3-48D9-88B4-8C8211683287}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DB624074-9CF3-48D9-88B4-8C8211683287}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DB624074-9CF3-48D9-88B4-8C8211683287}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DB624074-9CF3-48D9-88B4-8C8211683287}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE

View File

@ -1,7 +1,7 @@
using SoftwareInstallationFileImplement.Models; using SoftwareInstallationDatabaseImplement.Models;
using System.Xml.Linq; using System.Xml.Linq;
namespace SoftwareInstallationFileImplement namespace SoftwareInstallationDatabaseImplement
{ {
internal class DataFileSingleton internal class DataFileSingleton
{ {

View File

@ -2,9 +2,9 @@
using SoftwareInstallationContracts.SearchModels; using SoftwareInstallationContracts.SearchModels;
using SoftwareInstallationContracts.StoragesContracts; using SoftwareInstallationContracts.StoragesContracts;
using SoftwareInstallationContracts.ViewModels; using SoftwareInstallationContracts.ViewModels;
using SoftwareInstallationFileImplement.Models; using SoftwareInstallationDatabaseImplement.Models;
namespace SoftwareInstallationFileImplement.Implements namespace SoftwareInstallationDatabaseImplement.Implements
{ {
public class ComponentStorage : IComponentStorage public class ComponentStorage : IComponentStorage
{ {

View File

@ -2,9 +2,9 @@
using SoftwareInstallationContracts.SearchModels; using SoftwareInstallationContracts.SearchModels;
using SoftwareInstallationContracts.StoragesContracts; using SoftwareInstallationContracts.StoragesContracts;
using SoftwareInstallationContracts.ViewModels; using SoftwareInstallationContracts.ViewModels;
using SoftwareInstallationFileImplement.Models; using SoftwareInstallationDatabaseImplement.Models;
namespace SoftwareInstallationFileImplement.Implements namespace SoftwareInstallationDatabaseImplement.Implements
{ {
public class OrderStorage : IOrderStorage public class OrderStorage : IOrderStorage
{ {

View File

@ -2,9 +2,9 @@
using SoftwareInstallationContracts.SearchModels; using SoftwareInstallationContracts.SearchModels;
using SoftwareInstallationContracts.StoragesContracts; using SoftwareInstallationContracts.StoragesContracts;
using SoftwareInstallationContracts.ViewModels; using SoftwareInstallationContracts.ViewModels;
using SoftwareInstallationFileImplement.Models; using SoftwareInstallationDatabaseImplement.Models;
namespace SoftwareInstallationFileImplement.Implements namespace SoftwareInstallationDatabaseImplement.Implements
{ {
public class PackageStorage : IPackageStorage public class PackageStorage : IPackageStorage
{ {

View File

@ -3,7 +3,7 @@ using SoftwareInstallationContracts.BindingModels;
using SoftwareInstallationContracts.ViewModels; using SoftwareInstallationContracts.ViewModels;
using SoftwareInstallationDataModel.Models; using SoftwareInstallationDataModel.Models;
namespace SoftwareInstallationFileImplement.Models namespace SoftwareInstallationDatabaseImplement.Models
{ {
public class Component : IComponentModel public class Component : IComponentModel
{ {

View File

@ -4,7 +4,7 @@ using SoftwareInstallationDataModel.Enums;
using SoftwareInstallationDataModel.Models; using SoftwareInstallationDataModel.Models;
using System.Xml.Linq; using System.Xml.Linq;
namespace SoftwareInstallationFileImplement.Models namespace SoftwareInstallationDatabaseImplement.Models
{ {
public class Order : IOrderModel public class Order : IOrderModel
{ {

View File

@ -3,7 +3,7 @@ using SoftwareInstallationContracts.ViewModels;
using SoftwareInstallationDataModel.Models; using SoftwareInstallationDataModel.Models;
using System.Xml.Linq; using System.Xml.Linq;
namespace SoftwareInstallationFileImplement.Models namespace SoftwareInstallationDatabaseImplement.Models
{ {
public class Package : IPackageModel public class Package : IPackageModel
{ {

View File

@ -28,141 +28,135 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.menuStrip1 = new System.Windows.Forms.MenuStrip(); menuStrip1 = new MenuStrip();
this.справочникиToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); справочникиToolStripMenuItem = new ToolStripMenuItem();
this.packageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); packageToolStripMenuItem = new ToolStripMenuItem();
this.componentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); componentToolStripMenuItem = new ToolStripMenuItem();
this.ButtonRef = new System.Windows.Forms.Button(); ButtonRef = new Button();
this.ButtonIssuedOrder = new System.Windows.Forms.Button(); ButtonIssuedOrder = new Button();
this.ButtonOrderReady = new System.Windows.Forms.Button(); ButtonOrderReady = new Button();
this.buttonTakeOrderInWork = new System.Windows.Forms.Button(); buttonTakeOrderInWork = new Button();
this.buttonCreateOrder = new System.Windows.Forms.Button(); buttonCreateOrder = new Button();
this.dataGridView = new System.Windows.Forms.DataGridView(); dataGridView = new DataGridView();
this.menuStrip1.SuspendLayout(); menuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
this.SuspendLayout(); SuspendLayout();
// //
// menuStrip1 // menuStrip1
// //
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { menuStrip1.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem });
this.справочникиToolStripMenuItem}); menuStrip1.Location = new Point(0, 0);
this.menuStrip1.Location = new System.Drawing.Point(0, 0); menuStrip1.Name = "menuStrip1";
this.menuStrip1.Name = "menuStrip1"; menuStrip1.Size = new Size(1125, 24);
this.menuStrip1.Size = new System.Drawing.Size(1125, 24); menuStrip1.TabIndex = 1;
this.menuStrip1.TabIndex = 1; menuStrip1.Text = "menuStrip1";
this.menuStrip1.Text = "menuStrip1";
// //
// справочникиToolStripMenuItem // справочникиToolStripMenuItem
// //
this.справочникиToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { packageToolStripMenuItem, componentToolStripMenuItem });
this.packageToolStripMenuItem, справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
this.componentToolStripMenuItem}); справочникиToolStripMenuItem.Size = new Size(94, 20);
this.справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem"; справочникиToolStripMenuItem.Text = "Справочники";
this.справочникиToolStripMenuItem.Size = new System.Drawing.Size(94, 20);
this.справочникиToolStripMenuItem.Text = "Справочники";
// //
// packageToolStripMenuItem // packageToolStripMenuItem
// //
this.packageToolStripMenuItem.Name = "packageToolStripMenuItem"; packageToolStripMenuItem.Name = "packageToolStripMenuItem";
this.packageToolStripMenuItem.Size = new System.Drawing.Size(145, 22); packageToolStripMenuItem.Size = new Size(145, 22);
this.packageToolStripMenuItem.Text = "Изделия"; packageToolStripMenuItem.Text = "Изделия";
this.packageToolStripMenuItem.Click += new System.EventHandler(this.PackagesToolStripMenuItem_Click); packageToolStripMenuItem.Click += PackagesToolStripMenuItem_Click;
// //
// componentToolStripMenuItem // componentToolStripMenuItem
// //
this.componentToolStripMenuItem.Name = "componentToolStripMenuItem"; componentToolStripMenuItem.Name = "componentToolStripMenuItem";
this.componentToolStripMenuItem.Size = new System.Drawing.Size(145, 22); componentToolStripMenuItem.Size = new Size(145, 22);
this.componentToolStripMenuItem.Text = "Компоненты"; componentToolStripMenuItem.Text = "Компоненты";
this.componentToolStripMenuItem.Click += new System.EventHandler(this.ComponentsToolStripMenuItem_Click); componentToolStripMenuItem.Click += ComponentsToolStripMenuItem_Click;
// //
// ButtonRef // ButtonRef
// //
this.ButtonRef.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); ButtonRef.Anchor = AnchorStyles.Top | AnchorStyles.Right;
this.ButtonRef.Location = new System.Drawing.Point(966, 374); ButtonRef.Location = new Point(966, 374);
this.ButtonRef.Name = "ButtonRef"; ButtonRef.Name = "ButtonRef";
this.ButtonRef.Size = new System.Drawing.Size(147, 55); ButtonRef.Size = new Size(147, 55);
this.ButtonRef.TabIndex = 12; ButtonRef.TabIndex = 12;
this.ButtonRef.Text = "Обновить список"; ButtonRef.Text = "Обновить список";
this.ButtonRef.UseVisualStyleBackColor = true; ButtonRef.UseVisualStyleBackColor = true;
this.ButtonRef.Click += new System.EventHandler(this.ButtonRef_Click); ButtonRef.Click += ButtonRef_Click;
// //
// ButtonIssuedOrder // ButtonIssuedOrder
// //
this.ButtonIssuedOrder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); ButtonIssuedOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
this.ButtonIssuedOrder.Location = new System.Drawing.Point(966, 284); ButtonIssuedOrder.Location = new Point(966, 284);
this.ButtonIssuedOrder.Name = "ButtonIssuedOrder"; ButtonIssuedOrder.Name = "ButtonIssuedOrder";
this.ButtonIssuedOrder.Size = new System.Drawing.Size(147, 55); ButtonIssuedOrder.Size = new Size(147, 55);
this.ButtonIssuedOrder.TabIndex = 11; ButtonIssuedOrder.TabIndex = 11;
this.ButtonIssuedOrder.Text = "Заказ выдан"; ButtonIssuedOrder.Text = "Заказ выдан";
this.ButtonIssuedOrder.UseVisualStyleBackColor = true; ButtonIssuedOrder.UseVisualStyleBackColor = true;
this.ButtonIssuedOrder.Click += new System.EventHandler(this.ButtonIssuedOrder_Click); ButtonIssuedOrder.Click += ButtonIssuedOrder_Click;
// //
// ButtonOrderReady // ButtonOrderReady
// //
this.ButtonOrderReady.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); ButtonOrderReady.Anchor = AnchorStyles.Top | AnchorStyles.Right;
this.ButtonOrderReady.Location = new System.Drawing.Point(966, 194); ButtonOrderReady.Location = new Point(966, 194);
this.ButtonOrderReady.Name = "ButtonOrderReady"; ButtonOrderReady.Name = "ButtonOrderReady";
this.ButtonOrderReady.Size = new System.Drawing.Size(147, 55); ButtonOrderReady.Size = new Size(147, 55);
this.ButtonOrderReady.TabIndex = 10; ButtonOrderReady.TabIndex = 10;
this.ButtonOrderReady.Text = "Заказ готов"; ButtonOrderReady.Text = "Заказ готов";
this.ButtonOrderReady.UseVisualStyleBackColor = true; ButtonOrderReady.UseVisualStyleBackColor = true;
this.ButtonOrderReady.Click += new System.EventHandler(this.ButtonOrderReady_Click); ButtonOrderReady.Click += ButtonOrderReady_Click;
// //
// buttonTakeOrderInWork // buttonTakeOrderInWork
// //
this.buttonTakeOrderInWork.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); buttonTakeOrderInWork.Anchor = AnchorStyles.Top | AnchorStyles.Right;
this.buttonTakeOrderInWork.Location = new System.Drawing.Point(966, 112); buttonTakeOrderInWork.Location = new Point(966, 112);
this.buttonTakeOrderInWork.Name = "buttonTakeOrderInWork"; buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
this.buttonTakeOrderInWork.Size = new System.Drawing.Size(147, 55); buttonTakeOrderInWork.Size = new Size(147, 55);
this.buttonTakeOrderInWork.TabIndex = 9; buttonTakeOrderInWork.TabIndex = 9;
this.buttonTakeOrderInWork.Text = "Отдать на выполнение"; buttonTakeOrderInWork.Text = "Отдать на выполнение";
this.buttonTakeOrderInWork.UseVisualStyleBackColor = true; buttonTakeOrderInWork.UseVisualStyleBackColor = true;
this.buttonTakeOrderInWork.Click += new System.EventHandler(this.ButtonTakeOrderInWork_Click); buttonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
// //
// buttonCreateOrder // buttonCreateOrder
// //
this.buttonCreateOrder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); buttonCreateOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
this.buttonCreateOrder.Location = new System.Drawing.Point(966, 27); buttonCreateOrder.Location = new Point(966, 27);
this.buttonCreateOrder.Name = "buttonCreateOrder"; buttonCreateOrder.Name = "buttonCreateOrder";
this.buttonCreateOrder.Size = new System.Drawing.Size(147, 55); buttonCreateOrder.Size = new Size(147, 55);
this.buttonCreateOrder.TabIndex = 8; buttonCreateOrder.TabIndex = 8;
this.buttonCreateOrder.Text = "Создать заказ"; buttonCreateOrder.Text = "Создать заказ";
this.buttonCreateOrder.UseVisualStyleBackColor = true; buttonCreateOrder.UseVisualStyleBackColor = true;
this.buttonCreateOrder.Click += new System.EventHandler(this.ButtonCreateOrder_Click); buttonCreateOrder.Click += ButtonCreateOrder_Click;
// //
// dataGridView // dataGridView
// //
this.dataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) dataGridView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
| System.Windows.Forms.AnchorStyles.Left) dataGridView.BackgroundColor = SystemColors.ButtonHighlight;
| System.Windows.Forms.AnchorStyles.Right))); dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight; dataGridView.Location = new Point(12, 27);
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; dataGridView.Name = "dataGridView";
this.dataGridView.Location = new System.Drawing.Point(12, 27); dataGridView.Size = new Size(948, 402);
this.dataGridView.Name = "dataGridView"; dataGridView.TabIndex = 7;
this.dataGridView.RowTemplate.Height = 25;
this.dataGridView.Size = new System.Drawing.Size(948, 402);
this.dataGridView.TabIndex = 7;
// //
// FormMain // FormMain
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); AutoScaleDimensions = new SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; AutoScaleMode = AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1125, 441); ClientSize = new Size(1125, 441);
this.Controls.Add(this.ButtonRef); Controls.Add(ButtonRef);
this.Controls.Add(this.ButtonIssuedOrder); Controls.Add(ButtonIssuedOrder);
this.Controls.Add(this.ButtonOrderReady); Controls.Add(ButtonOrderReady);
this.Controls.Add(this.buttonTakeOrderInWork); Controls.Add(buttonTakeOrderInWork);
this.Controls.Add(this.buttonCreateOrder); Controls.Add(buttonCreateOrder);
this.Controls.Add(this.dataGridView); Controls.Add(dataGridView);
this.Controls.Add(this.menuStrip1); Controls.Add(menuStrip1);
this.Name = "FormMain"; Name = "FormMain";
this.Text = "Установка ПО"; Text = "Установка ПО";
this.menuStrip1.ResumeLayout(false); Load += FormMain_Load;
this.menuStrip1.PerformLayout(); menuStrip1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit(); menuStrip1.PerformLayout();
this.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
this.PerformLayout(); ResumeLayout(false);
PerformLayout();
} }
#endregion #endregion

View File

@ -1,4 +1,64 @@
<root> <?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: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:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true"> <xsd:element name="root" msdata:IsDataSet="true">

View File

@ -4,8 +4,7 @@ using SoftwareInstallationContracts.StoragesContracts;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using NLog.Extensions.Logging; using NLog.Extensions.Logging;
//using SoftwareInstallationListImplement.Implements; using SoftwareInstallationDataBaseImplement.Implements;
using SoftwareInstallationFileImplement.Implements;
namespace SoftwareInstallationView namespace SoftwareInstallationView
{ {

View File

@ -19,6 +19,10 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.8">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" /> <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" /> <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
<PackageReference Include="NLog.Extensions.Logging" Version="5.3.12" /> <PackageReference Include="NLog.Extensions.Logging" Version="5.3.12" />
@ -27,8 +31,8 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\SoftwareInstallationBusinessLogic\SoftwareInstallationBusinessLogic.csproj" /> <ProjectReference Include="..\SoftwareInstallationBusinessLogic\SoftwareInstallationBusinessLogic.csproj" />
<ProjectReference Include="..\SoftwareInstallationContracts\SoftwareInstallationContracts.csproj" /> <ProjectReference Include="..\SoftwareInstallationContracts\SoftwareInstallationContracts.csproj" />
<ProjectReference Include="..\SoftwareInstallationDatabaseImplement\SoftwareInstallationDatabaseImplement.csproj" />
<ProjectReference Include="..\SoftwareInstallationDataModel\SoftwareInstallationDataModel.csproj" /> <ProjectReference Include="..\SoftwareInstallationDataModel\SoftwareInstallationDataModel.csproj" />
<ProjectReference Include="..\SoftwareInstallationFileImplement\SoftwareInstallationFileImplement.csproj" />
<ProjectReference Include="..\SoftwareInstallationListImplement\SoftwareInstallationListImplement.csproj" /> <ProjectReference Include="..\SoftwareInstallationListImplement\SoftwareInstallationListImplement.csproj" />
</ItemGroup> </ItemGroup>