public Table(Database parent) : base("[", "]", StatusEnum.ObjectTypeEnum.Table) { columns = new Columns(this); constraints = new Constraints(this); options = new TableOptions(this); triggers = new TableTriggers(this); this.Status = StatusEnum.ObjectStatusType.OriginalStatus; this.Parent = parent; }
/// <summary> /// Clona el objeto Triggers en una nueva instancia. /// </summary> public TableTriggers Clone(Table parent) { TableTriggers options = new TableTriggers(parent); for (int index = 0; index < this.Count; index++) { options.Add(this[index].Clone(parent)); } return(options); }