Eliseev E.E. LabWork03 #4
@ -85,7 +85,7 @@ namespace BlacksmithWorkshopDatabaseImplement.Implements
|
||||
Status = x.Status,
|
||||
DateCreate = x.DateCreate,
|
||||
DateImplement = x.DateImplement,
|
||||
//ManufactureName = x.Manufacture.ManufactureName //тут не будет работать
|
||||
ManufactureName = x.Manufacture.ManufactureName
|
||||
})
|
||||
.ToList();
|
||||
}
|
||||
|
@ -27,6 +27,9 @@ namespace BlacksmithWorkshopDatabaseImplement.Models
|
||||
|
||||
public DateTime? DateImplement { get; private set; }
|
||||
|
||||
//для передачи названия изделия
|
||||
public virtual Manufacture Manufacture { get; set; }
|
||||
|
||||
public static Order? Create(OrderBindingModel model)
|
||||
{
|
||||
if (model == null)
|
||||
|
Loading…
Reference in New Issue
Block a user