RoutineType wird nicht richtig geupdatet
This commit is contained in:
@@ -68,6 +68,7 @@ namespace BeWo.ViewModel
|
||||
|
||||
protected abstract DCType MapToDataContract(DCType pDataContract, bool doCommit);
|
||||
|
||||
// Methode dient dem aktualiseren eines existierendes VM mit einem neuen DC (z.B. Serverupdate)
|
||||
public virtual void UpdateByDataContract(DCType pDataContract)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
|
||||
@@ -143,6 +143,7 @@ namespace BeWo.ViewModel
|
||||
Description = pDataContract.Description;
|
||||
IsPublic = pDataContract.IsPublic;
|
||||
IsFavorite = pDataContract.IsFavorite;
|
||||
RoutineType = pDataContract.RoutineType;
|
||||
|
||||
Steps.UpdateByDataContracts(pDataContract.Steps);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user