Eliseev E.E. LabWork03 #4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user