DB + model product fixes.
This commit is contained in:
parent
2ebbe9789f
commit
5bfcab5958
@ -45,7 +45,7 @@ namespace ComputerStoreDatabaseImplement.Models
|
||||
public virtual List<ProductComponent> Components { get; set; } = new();
|
||||
|
||||
[ForeignKey("ProductID")]
|
||||
public virtual List<Consignment> Consignments { get; set; } = new();
|
||||
public virtual List<ConsignmentProduct> Consignments { get; set; } = new();
|
||||
|
||||
public virtual Employee Employee { get; set; }
|
||||
public static Product Create(ComputerStoreDatabase context, ProductBindingModel model)
|
||||
|
Loading…
Reference in New Issue
Block a user