LabWork03_Base: Фиксы
This commit is contained in:
parent
ed8a9ee034
commit
3a965ffbe3
@ -10,6 +10,7 @@ using System.Reflection.Metadata;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
using System.Xml.Linq;
|
||||||
|
|
||||||
namespace AutomobilePlantDatabaseImplement.Implements
|
namespace AutomobilePlantDatabaseImplement.Implements
|
||||||
{
|
{
|
||||||
@ -100,6 +101,7 @@ namespace AutomobilePlantDatabaseImplement.Implements
|
|||||||
}
|
}
|
||||||
|
|
||||||
car.Update(model);
|
car.Update(model);
|
||||||
|
car.UpdateComponents(context, model);
|
||||||
|
|
||||||
context.SaveChanges();
|
context.SaveChanges();
|
||||||
context.Database.CommitTransaction();
|
context.Database.CommitTransaction();
|
||||||
|
Loading…
Reference in New Issue
Block a user