Исправление миграци.

This commit is contained in:
Programmist73 2023-02-28 00:32:59 +04:00
parent 0f46fbef9f
commit 27384ba263

View File

@ -44,7 +44,7 @@ namespace BlacksmithWorkshopDatabaseImplement.Models
[ForeignKey("ManufactureId")]
public virtual List<ManufactureWorkPiece> WorkPieces { get; set; } = new();
[ForeignKey("ProductId")]
[ForeignKey("ManufactureId")]
public virtual List<Order> Orders { get; set; } = new();
public static Manufacture Create(BlacksmithWorkshopDatabase context, ManufactureBindingModel model)