public override void Visit(CreateForeignKeyCommand command)
 {
     _output.WriteLine("Creating foreign key {0}", command.Name);
 }
 public abstract void Visit(CreateForeignKeyCommand command);
Esempio n. 3
0
 public SchemaBuilder CreateForeignKey(string name, string srcModule, string srcTable, string[] srcColumns, string destModule, string destTable, string[] destColumns)
 {
     var command = new CreateForeignKeyCommand(name, String.Concat(_formatPrefix(srcModule), srcTable), srcColumns, String.Concat(_formatPrefix(destModule), destTable), destColumns);
     Run(command);
     return this;
 }