aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL/EntitiesExtensions/Spool.cs
blob: f93e90d00844305cb4f51b7f4af4278c0dd22022 (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.BL.Entities
{
    public partial class Spool
    {
        public Spool Clone(Machine machine)
        {
            var cloned = base.Clone();
            cloned.Machine = machine;
            return cloned;
        }

        public override List<string> GetIgnoreProperties()
        {
            return base.GetIgnoreProperties().Concat(new List<String>()
            {
                 nameof(this.Machine),
                 nameof(this.SpoolType),
            }).ToList();
        }
    }
}