PIbd-21. Yaruskin S.A. Lab Work 03 hard #12
@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user