Esempio n. 1
0
 private void FindAddedForeignKeys(
     Tuple <IEntityType, IEntityType> tablePair,
     IEnumerable <Tuple <IForeignKey, IForeignKey> > foreignKeyPairs)
 {
     _operations.AddRange(
         tablePair.Item2.ForeignKeys
         .Except(foreignKeyPairs.Select(pair => pair.Item2))
         .Select(fk => OperationFactory.AddForeignKeyOperation(fk)));
 }