этот коммит этот коммит 2
This commit is contained in:
parent
f01435276a
commit
7c900c51b5
@ -12,8 +12,8 @@ using SoftwareInstallationDataBaseImplement;
|
||||
namespace SoftwareInstallationDataBaseImplement.Migrations
|
||||
{
|
||||
[DbContext(typeof(SoftwareInstallationDataBase))]
|
||||
[Migration("20230421084832_InitCreate")]
|
||||
partial class InitCreate
|
||||
[Migration("20230424172419_InitDB")]
|
||||
partial class InitDB
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
@ -6,7 +6,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
|
||||
namespace SoftwareInstallationDataBaseImplement.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class InitCreate : Migration
|
||||
public partial class InitDB : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
@ -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);
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
<div class="col-8"><input type="text" id="adress" name="adress" class="form-control"/></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-4">Максимальное количество суши:</div>
|
||||
<div class="col-4">Максимальное количество изделий:</div>
|
||||
<div class="col-8"><input type="number" id="count" name="count" class="form-control"/></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
Loading…
x
Reference in New Issue
Block a user