schambers/fluentmigrator — Issue #232: Additional syntax for Delete
Author: khalidabuhakmeh
Created: 2012-01-25 14:04:33+00:00
State: open

It would be pretty cool to delete multiple columns at the same time when using Delete.

current:

Delete.Column("AllowSubscription").FromTable("Users");
Delete.Column("SubscriptionDate").FromTable("Users");

possible:

Delete.Columns("AllowSubscription", "SubscriptionDate").FromTable("Users");

or:

Delete.FromTable("Users").Column("AllowSubscription").Column("SubscriptionDate");

This would reduce the times a developer would have to write the table name.