Eliseev E.E. LabWork03 #4

Closed
ElEgEv wants to merge 12 commits from LabWork03 into LabWork02
Showing only changes of commit 27384ba263 - Show all commits

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)