From 7c900c51b50e23b56d0d5c7e00d7618e202c46e6 Mon Sep 17 00:00:00 2001 From: AnnZhimol Date: Mon, 24 Apr 2023 21:51:56 +0400 Subject: [PATCH] =?UTF-8?q?=D1=8D=D1=82=D0=BE=D1=82=20=D0=BA=D0=BE=D0=BC?= =?UTF-8?q?=D0=BC=D0=B8=D1=82=20=D1=8D=D1=82=D0=BE=D1=82=20=D0=BA=D0=BE?= =?UTF-8?q?=D0=BC=D0=BC=D0=B8=D1=82=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...itCreate.Designer.cs => 20230424172419_InitDB.Designer.cs} | 4 ++-- ...{20230421084832_InitCreate.cs => 20230424172419_InitDB.cs} | 2 +- .../SoftwareInstallationDataBase.cs | 2 +- .../SoftwareInstallationStoreApp/Views/Home/Create.cshtml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) rename SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/{20230421084832_InitCreate.Designer.cs => 20230424172419_InitDB.Designer.cs} (99%) rename SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/{20230421084832_InitCreate.cs => 20230424172419_InitDB.cs} (99%) diff --git a/SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230421084832_InitCreate.Designer.cs b/SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230424172419_InitDB.Designer.cs similarity index 99% rename from SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230421084832_InitCreate.Designer.cs rename to SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230424172419_InitDB.Designer.cs index 2e0744a..1e5e768 100644 --- a/SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230421084832_InitCreate.Designer.cs +++ b/SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230424172419_InitDB.Designer.cs @@ -12,8 +12,8 @@ using SoftwareInstallationDataBaseImplement; namespace SoftwareInstallationDataBaseImplement.Migrations { [DbContext(typeof(SoftwareInstallationDataBase))] - [Migration("20230421084832_InitCreate")] - partial class InitCreate + [Migration("20230424172419_InitDB")] + partial class InitDB { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) diff --git a/SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230421084832_InitCreate.cs b/SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230424172419_InitDB.cs similarity index 99% rename from SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230421084832_InitCreate.cs rename to SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230424172419_InitDB.cs index f6e2587..b97e4e2 100644 --- a/SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230421084832_InitCreate.cs +++ b/SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230424172419_InitDB.cs @@ -6,7 +6,7 @@ using Microsoft.EntityFrameworkCore.Migrations; namespace SoftwareInstallationDataBaseImplement.Migrations { /// - public partial class InitCreate : Migration + public partial class InitDB : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) diff --git a/SoftwareInstallation/SoftwareInstallationDataBaseImplement/SoftwareInstallationDataBase.cs b/SoftwareInstallation/SoftwareInstallationDataBaseImplement/SoftwareInstallationDataBase.cs index 8ca5f95..4a84d82 100644 --- a/SoftwareInstallation/SoftwareInstallationDataBaseImplement/SoftwareInstallationDataBase.cs +++ b/SoftwareInstallation/SoftwareInstallationDataBaseImplement/SoftwareInstallationDataBase.cs @@ -9,7 +9,7 @@ namespace SoftwareInstallationDataBaseImplement { if (optionsBuilder.IsConfigured == false) { - optionsBuilder.UseSqlServer(@"Data Source=DESKTOP-VG5USAH\SQLEXPRESS;Initial Catalog=SoftwareInstallationDataBaseHardFull;Integrated Security=True;MultipleActiveResultSets=True;;TrustServerCertificate=True"); + optionsBuilder.UseSqlServer(@"Data Source=COMP-AVZH\SQLEXPRESS;Initial Catalog=SoftwareInstallationDataBaseHardFulllab5;Integrated Security=True;MultipleActiveResultSets=True;;TrustServerCertificate=True"); } base.OnConfiguring(optionsBuilder); } diff --git a/SoftwareInstallation/SoftwareInstallationStoreApp/Views/Home/Create.cshtml b/SoftwareInstallation/SoftwareInstallationStoreApp/Views/Home/Create.cshtml index d2f5d7f..95aeaf1 100644 --- a/SoftwareInstallation/SoftwareInstallationStoreApp/Views/Home/Create.cshtml +++ b/SoftwareInstallation/SoftwareInstallationStoreApp/Views/Home/Create.cshtml @@ -15,7 +15,7 @@
-
Максимальное количество суши:
+
Максимальное количество изделий: