private static void UpdatePropertyMapping(
            DbDatabaseMapping databaseMapping,
            IEnumerable<EntitySet> entitySets,
            Dictionary<EdmProperty, IList<ColumnMappingBuilder>> columnMappingIndex,
            ColumnMappingBuilder propertyMappingBuilder,
            EntityType fromTable,
            EntityType toTable,
            bool useExisting)
        {
            propertyMappingBuilder.ColumnProperty
                = TableOperations.CopyColumnAndAnyConstraints(
                    databaseMapping.Database, fromTable, toTable, propertyMappingBuilder.ColumnProperty, GetPropertyPathMatcher(columnMappingIndex, propertyMappingBuilder), useExisting);

            propertyMappingBuilder.SyncNullabilityCSSpace(databaseMapping, entitySets, toTable);
        }
        private static void UpdatePropertyMapping(
            EdmModel database,
            ColumnMappingBuilder propertyMappingBuilder,
            EntityType fromTable,
            EntityType toTable,
            bool useExisting)
        {
            propertyMappingBuilder.ColumnProperty
                = TableOperations.CopyColumnAndAnyConstraints(
                    database, fromTable, toTable, propertyMappingBuilder.ColumnProperty, useExisting, false);

            propertyMappingBuilder.SyncNullabilityCSSpace();
        }