Exemple #1
0
 public Table(Database parent) : base(StatusEnum.ObjectTypeEnum.Table)
 {
     this.Parent = parent;
     columns     = new Columns(this);
     triggers    = new TableTriggers(this);
     constraints = new Constraints(this);
 }
Exemple #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);
        }