Пример #1
0
 /// Clona el objeto en una nueva instancia.
 public Column(Table parent)
     : base("[", "]", StatusEnum.ObjectTypeEnum.Column)
 {
     this.Status      = StatusEnum.ObjectStatusType.OriginalStatus;
     this.Parent      = parent;
     computedFormula  = "";
     this.constraints = new ColumnConstraints(this);
 }
Пример #2
0
        /// <summary>
        /// Clona el objeto ColumnConstraints en una nueva instancia.
        /// </summary>
        public ColumnConstraints Clone(Column parent)
        {
            ColumnConstraints columns = new ColumnConstraints(parent);

            for (int index = 0; index < this.Count; index++)
            {
                columns.Add(this[index].Clone(parent));
            }
            return(columns);
        }