secondCommit

This commit is contained in:
Salikh 2024-03-23 09:45:21 +04:00
parent e370affee5
commit 0a68dbfa4d
2 changed files with 2 additions and 2 deletions

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)