コード例 #1
0
        private void FindAlteredColumns(
            IEnumerable <Tuple <IProperty, IProperty> > columnPairs)
        {
            _operations.AddRange(
                columnPairs.Where(pair => !EquivalentColumns(pair.Item1, pair.Item2))
                .Select(pair => OperationFactory.AlterColumnOperation(pair.Item1, pair.Item2, isDestructiveChange: true)));

            // TODO: Add functionality to determine the value of isDestructiveChange.
        }