IsActive bzw. ActivationType wird bei Textbausteinen ignoriert. Es wird eh sofort gelöscht und nicht auf Deleted gesetzt.

This commit is contained in:
Lyndon Jetten
2020-11-11 19:39:11 +01:00
parent 029a7c87bd
commit 05a0436a9f
4 changed files with 22 additions and 22 deletions

View File

@@ -17,7 +17,7 @@ namespace BeWo.Service.DCEntityMapper
pDataContract.IsOnlyForEmployee = pEntity.IsOnlyForEmployee;
pDataContract.IsParent = pEntity.IsParent;
pDataContract.IsExpanded = pEntity.IsExpanded;
pDataContract.ActivationType = pEntity.IsActive;
//pDataContract.ActivationType = pEntity.IsActive;
pDataContract.Parent = pEntity.Parent != null ? MapperFactory.TextModuleDC_TextModule.MapToNewDC(pEntity.Parent) : null;
@@ -39,7 +39,7 @@ namespace BeWo.Service.DCEntityMapper
pEntity.IsOnlyForEmployee = pDataContract.IsOnlyForEmployee;
pEntity.IsParent = pDataContract.IsParent;
pEntity.IsExpanded = pDataContract.IsExpanded;
pEntity.IsActive = pDataContract.ActivationType;
//pEntity.IsActive = pDataContract.ActivationType;
pEntity.Parent = pDataContract.Parent != null ? DAOFactory.GenericDAO.LoadByID<TextModule>(pDataContract.Parent.TextModuleOid.Value) : null;