|
|
@@ -21,6 +21,15 @@ namespace CD67.FicheCollege.Factory
|
|
|
identiteFactory.delete(ref identite);
|
|
|
}
|
|
|
|
|
|
+ //ActionsCLAS
|
|
|
+ ActionCLASFactory actionCLASFactory = new ActionCLASFactory(dbContext);
|
|
|
+ if (entity.Actions_CLAS == null) dbContext.Entry(entity).Reference(i => i.Actions_CLAS).Load();
|
|
|
+ if (entity.Actions_CLAS != null)
|
|
|
+ {
|
|
|
+ Entity.ActionCLAS actionCLAS = entity.Actions_CLAS;
|
|
|
+ actionCLASFactory.delete(ref actionCLAS);
|
|
|
+ }
|
|
|
+
|
|
|
base.delete(ref entity);
|
|
|
}
|
|
|
}
|