blob: c601026717b5914be93affc91d1653ad602fd9dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.Integration.Observables
{
public partial class Configuration
{
public override void DefferedDelete()
{
IdsPacks.ToList().ForEach(x => x.DefferedDelete());
var machine_configurations = ObservablesEntitiesAdapter.Instance.MachinesConfigurations.Where(x => x.Configuration == this);
MachinesConfigurations.ToList().ForEach(x => x.DefferedDelete());
base.DefferedDelete();
IdsPacks.Clear();
}
public override void Delete()
{
IdsPacks.ToList().ForEach(x => x.DefferedDelete());
var machine_configurations = ObservablesEntitiesAdapter.Instance.MachinesConfigurations.Where(x => x.Configuration == this);
MachinesConfigurations.ToList().ForEach(x => x.DefferedDelete());
base.Delete();
IdsPacks.Clear();
}
}
}
|