Eliseev E.E. LabWork03 #4

Closed
ElEgEv wants to merge 12 commits from LabWork03 into LabWork02
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 0f46fbef9f - Show all commits

View File

@ -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();
}

View File

@ -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)