Esempio n. 1
0
 /// <summary>
 /// Copies the contents of this database to another.
 /// </summary>
 /// <param name="sink">The database to copy to.</param>
 public void CopyTo(Database sink)
 {
     Constraints.CopyTo(sink.Constraints);
     FulltextCatalogs.CopyTo(sink.FulltextCatalogs);
     FulltextIndexes.CopyTo(sink.FulltextIndexes);
     Functions.CopyTo(sink.Functions);
     Permissions.CopyTo(sink.Permissions);
     Procedures.CopyTo(sink.Procedures);
     Tables.CopyTo(sink.Tables);
     Triggers.CopyTo(sink.Triggers);
     TriggerOrder.CopyTo(sink.TriggerOrder);
     Views.CopyTo(sink.Views);
 }
Esempio n. 2
0
 public void CopyTo(EventTrigger[] triggers, int arrayIndex)
 {
     Triggers.CopyTo(triggers, arrayIndex);
 }