using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tango.BL.Entities { public partial class ProcessParametersTablesGroup : ProcessParametersTablesGroupBase { public override ProcessParametersTablesGroup Clone() { ProcessParametersTablesGroup cloned = base.Clone(); List tables = new List(); foreach (var table in ProcessParametersTables) { var newTable = table.Clone(); newTable.ProcessParametersTablesGroup = cloned; tables.Add(newTable); } cloned.ProcessParametersTables = tables.ToSynchronizedObservableCollection(); return cloned; } /// /// Initializes a new instance of the class. /// public ProcessParametersTablesGroup() : base() { } } }