Esempio n. 1
0
 public Table(Database parent) : base(StatusEnum.ObjectTypeEnum.Table)
 {
     columns = new Columns(this);
     //constraints = new Constraints(this);
     //options = new TableOptions(this);
     triggers = new TableTriggers(this);
     //indexes = new Indexes(this);
     this.Parent = parent;
 }
Esempio n. 2
0
        /// <summary>
        /// Clona el objeto Triggers en una nueva instancia.
        /// </summary>
        public TableTriggers Clone(Table parentObject)
        {
            TableTriggers options = new TableTriggers(parentObject);

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