PIbd-21. Yaruskin S.A. Lab Work 03 hard #12

Closed
Salikh wants to merge 10 commits from lab3-hard into laba2-hard
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 0a68dbfa4d - Show all commits

View File

@ -1,4 +1,4 @@
using System;
 using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable

View File

@ -14,7 +14,7 @@ namespace MotorPlantDatabaseImplement.Models
[Required]
public double Cost { get; set; }
[ForeignKey("ComponentId")]
public virtual List<EngineComponent> DressComponents { get; set; } = new();
public virtual List<EngineComponent> EngineComponents { get; set; } = new();
public static Component? Create(ComponentBindingModel model)
{
if (model == null)