Exemplo n.º 1
0
 public static void Show(DbMapper dbMapper, IPropertySymbol dbTable, AddRelationshipDelegate addRelationship)
 {
     new RelationshipWindow().ShowDialog(dbMapper, dbTable, addRelationship);
 }
Exemplo n.º 2
0
 private void ShowDialog(DbMapper dbMapper, IPropertySymbol dbTable, AddRelationshipDelegate addRelationship)
 {
     _presenter       = new Presenter(dbMapper, dbTable, this);
     _addRelationship = addRelationship;
     ShowDialog();
 }
Exemplo n.º 3
0
 public void Execute(AddRelationshipDelegate addRelationship)
 {
     addRelationship(_name.Value, _foreignKey.Value, _refTable.Value, _description.Value, _deleteRule.Value, _updateRule.Value);
 }