Example #1
0
 public override SqlNode Clone()
 {
     return(new BetweenExpression()
     {
         Expression = Expression.Clone() as ScalarExpression,
         From = From.Clone() as ScalarExpression,
         To = To.Clone() as ScalarExpression
     });
 }
Example #2
0
        public object Clone()
        {
            var cc = new PathFromAndTo();

            cc.From = (PathCredentials )From.Clone();
            cc.To   = (PathCredentials)To.Clone();
            if (ScheduleTask != null)
            {
                cc.ScheduleTask = (ScheduleTime)ScheduleTask.Clone();
            }
            cc.RoboCopy_Options   = RoboCopy_Options;
            cc.ExtendedAttributes = ExtendedAttributes;
            cc.IsEnabled          = IsEnabled;
            return(cc);
        }